| Goal | This query retrieves the ordinal positions of primary key columns for all base tables within the database, explicitly including those created via inheritance. It acts as an auditing tool to help database administrators and developers understand column layouts and verify schema design conventions across the entire table hierarchy. |
|---|---|
| Type | General Overview of some aspect of the database. |
| License | MIT (opens in new tab) |
| Data Source | INFORMATION_SCHEMA+system catalog |
| SQL Query |
|
Categories
This query is classified under the following categories:
Comfortability of data management
Queries of this category provide information about the means that have been used to make the use or management of database more comfortable and thus, more efficient.
Inconsistencies
Queries of this catergory provide information about inconsistencies of solving the same problem in different places.
| Name | Description |
|---|---|
| Comfortability of data management | Queries of this category provide information about the means that have been used to make the use or management of database more comfortable and thus, more efficient. |
| Inconsistencies | Queries of this catergory provide information about inconsistencies of solving the same problem in different places. |