Which of the following commands is used to modify structure of the table?
Which of the following commands is used to modify structure of the table?
Solution
✅ Correct Option: 3
ALTER TABLE changes the structure of an existing table. It can add, drop or modify columns and change constraints, for example
Option 1: CREATE TABLE builds a new table, it does not change an existing one.
Option 2: DROP TABLE deletes the whole table (structure and data), rather than modifying it.
Option 4: MODIFY TABLE is not a valid SQL command. MODIFY is only a clause used inside ALTER TABLE, as in
Related questions:
2026: 11 May Shift 2
2025: 30 May Shift 2
2025: 3 June Shift 2
2025: 27 May Shift 2
2026: 29 May Shift 2