Multiple choice technology databases

CREATE, ALTER, DROP SQL commands fall into which category of SQL statements?

  1. DDL

  2. DML

  3. DCL

  4. TCL

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

DDL (Data Definition Language) commands define and modify database structures like tables, indexes, and schemas. DML (Data Manipulation Language) manipulates actual data with commands like INSERT, UPDATE, DELETE. DCL (Data Control Language) controls access permissions (GRANT, REVOKE), while TCL (Transaction Control Language) manages transactions (COMMIT, ROLLBACK).