To add an attribute to an existing table, we use __________ command.
To add an attribute to an existing table, we use __________ command.
Solution
✅ Correct Option: 2
ALTER TABLE is the SQL DDL command used to change the structure of an existing table. An attribute (column) is added with the ADD clause, for example ALTER TABLE Student ADD Age INT;
Option 1: UPDATE changes the values stored in existing rows (UPDATE Student SET ...), not the table structure.
Option 3: MODIFY is not a standalone command. It appears only as a clause inside ALTER TABLE, to change a column's data type or size.
Option 4: there is no such SQL command. INSERT INTO adds new rows, not columns.
Related questions:
2025: 15 May Shift 2
2026: 23 May Shift 2
2026: 11 May Shift 2