information_schema.columns.column_key

mysql

type: ENUM NOT NULL
5.7-8

mariadb

type: NULL
Note:
Index type. PRI for primary key, UNI for unique index, MUL for multiple index. A MySQL and MariaDB extension.
© 2022 MariaDB
5.1-10.8
type: VARCHAR NOT NULL
Note:
Index type. PRI for primary key, UNI for unique index, MUL for multiple index. A MySQL and MariaDB extension.
© 2022 MariaDB
10.2-10.7

tidb

type: VARCHAR(3) NULL
Note:
Whether this column is indexed. This field might have the following values:\n\nEmpty: This column is not indexed, or this column is indexed and is the second column in a multi-column non-unique index.\nPRI: This column is the primary key or one of multiple primary keys.\nUNI: This column is the first column of the unique index.\nMUL: The column is the first column of a non-unique index, in which a given value is allowed to occur for multiple times.
© 2022 PingCAP
4-6.1

postgres

cockroachdb

mssql