Skip to main contentSkip to solution

Which of the following are parts of Data Definition Language?

(A) CREATE

(B) INSERT

(C) ALTER

(D) DROP

Solution

✅ Correct Option: 4

DDL (Data Definition Language) commands define or change the structure of database objects. CREATE builds a new table or database, ALTER modifies an existing structure, and DROP deletes it.

INSERT adds rows of data to a table, so it belongs to DML (Data Manipulation Language), not DDL.


Options 1, 2 and 3: each includes INSERT (B), which is a DML command.

Other DDL commands include TRUNCATE and RENAME. Memory trick: DDL changes the table's structure, DML changes the data inside it.

Keyboard Shortcuts

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