Explain DML, DCL, DDL commands in SQL
Asked in the Technical stage. Using PostgreSQL, explain the purpose of each command category and write a query that returns the supported command inventory for DDL, DML, and DCL.
command_category, command_name, and command_class.| Column | Type | Description |
|---|---|---|
| category_idPK | INT | Identifier for a SQL command category |
| category_name | VARCHAR(20) | Name of the SQL command category |
| Column | Type | Description |
|---|---|---|
| command_idPK | INT | Identifier for a SQL command |
| category_id | INT | References the command category |
| command_name | VARCHAR(30) | SQL command keyword |