Which are DML statements? (Choose all that apply.)
-
COMMIT
-
MERGE
-
UPDATE
-
DELETE
-
CREATE
-
DROP
DML (Data Manipulation Language) statements manipulate data in tables: MERGE combines insert/update/delete operations, UPDATE modifies existing data, DELETE removes rows. CREATE, DROP, and COMMIT are DDL and TCL commands respectively. COMMIT is transaction control, not data manipulation.
DML (Data Manipulation Language) statements are those that manipulate data within tables: MERGE, UPDATE, and DELETE are all correctly classified as DML because they insert/modify/remove row data. COMMIT is a TCL (Transaction Control Language) statement — it finalizes a transaction rather than manipulating data itself. CREATE and DROP are DDL (Data Definition Language) statements because they define or remove schema objects (tables, views, etc.) rather than manipulating the data inside them. This maps cleanly onto the standard SQL command category taxonomy (DDL/DML/DCL/TCL) commonly tested in database courses.