Which of the following is the correct statement to add new column in existing table?
Which of the following is the correct statement to add new column in existing table?
Solution
✅ Correct Option: 1
The SQL command to change the structure of an existing table is ALTER TABLE, and the ADD clause inside it adds a new column. The syntax is
Option 2: MODIFY changes the datatype or size of a column that already exists. It does not add a new one.
Options 3 and 4: UPDATE is a DML command that changes the data (values) in existing rows. It cannot change the table structure, and "UPDATE TABLE" is not valid SQL at all.
ALTER changes the structure (DDL), while UPDATE changes the data (DML).
Related questions:
2025: 3 June Shift 2
2026: 26 May Shift 1
2026: 19 May Shift 1