What is a database schema?
Using PostgreSQL metadata, write a query that demonstrates the structure of the machine_assets table. Return one row for each column, including its name, data type, nullability, and position.
column_name, data_type, is_nullable, and ordinal_positionmachine_assets in the public schemaordinal_position ascending| Column | Type | Description |
|---|---|---|
| table_schema | VARCHAR | Name of the schema containing the table |
| table_name | VARCHAR | Name of the table |
| column_name | VARCHAR | Name of the table column |
| data_type | VARCHAR | SQL data type of the column |
| is_nullable | VARCHAR | Whether the column allows NULL values |
| ordinal_position | INT | One-based position of the column in the table |