Correct Answer: B
In SQL, commands are categorized into different language groups depending on their purpose:
* Data Manipulation Language (DML):
* Deals with manipulating the data stored in existing database objects.
* Includes:
* SELECT # query data
* INSERT # add new records
* UPDATE # modify existing records
* DELETE # remove records
* Therefore, UPDATE is a DML statement.
* Data Definition Language (DDL):
* Used to define and manage database schema objects (tables, indexes, schemas).
* Includes: CREATE, ALTER, DROP, TRUNCATE.
* Data Control Language (DCL):
* Used to control access and permissions.
* Includes: GRANT, REVOKE.
Now let's map the options:
* A. REVOKE # DCL (not DML).
* B. UPDATE # DML # (correct).
* C. DROP # DDL (removes database objects).
* D. CREATE # DDL (creates database objects).
The answer: B. UPDATE
* SQL Language Elements - DDL, DML, DCL
* UPDATE (Transact-SQL)
Microsoft References