information_schema.key_column_usage.ordinal_position

mysql

type: BIGINT NOT NULL
5.7-8

mariadb

type: NULL
Note:
Position of the column within the constraint.
© 2022 MariaDB
5.1-10.8
type: BIGINT NOT NULL
Note:
Position of the column within the constraint.
© 2022 MariaDB
10.2-10.7

tidb

type: BIGINT(10) NOT NULL
Note:
The position of the column in the constraint, rather than in the table. The position number starts from 1.
© 2022 PingCAP
4-6.1

postgres

type: CARDINAL_NUMBER NULL
Note:
Ordinal position of the column within the constraint key (count starts at 1)
© 1996-2022 The PostgreSQL Global Development Group
10-15
type: CARDINAL_NUMBER
Note:
Ordinal position of the column within the constraint key (count starts at 1)
© 1996-2022 The PostgreSQL Global Development Group
7.4-9.6

cockroachdb

type: unknown
Note:
Ordinal position of the column within the constraint (begins at 1).
© 2022 CockroachDB
1-21.2

mssql

type: INT NULL
Note:
Column ordinal position.
© Microsoft 2022
sql-server-2016-sql-server-ver15