Which of the following keywords is different from others in terms of functionality?
-
Insert
-
Delete
-
Alter
-
Update
C
Correct answer
Explanation
The alter keyword is used to alter (modify) the structure of the table. It is different from the other options because it is the only option which belongs to the DDL (Data Definition Language) part of the SQL. DDL statements are those statements that are used to define or modify the structure of the table. SQL statements like Create and Alter are DDL statements because they work on the structure of the table rather than the data.