information_schema.attributes.ordinal_position

mysql

mariadb

tidb

postgres

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

cockroachdb

mssql