Skip to main contentSkip to solution

Adding new attributes to a table using the "ALTER TABLE" statement is ____

Solution

✅ Correct Option: 2

ALTER TABLE changes the structure (schema) of a table, such as adding, modifying or dropping a column. Commands that define or change database structure belong to Data Definition Language (DDL).

DDL commands include CREATE, ALTER, DROP and TRUNCATE.


Option 3: DML works on the data inside tables (INSERT, UPDATE, DELETE), not on the table's structure. Adding a column changes the structure, so it is not DML.

Option 1: DQL only retrieves data (SELECT).

Option 4: DCL manages access permissions (GRANT, REVOKE).

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question