Skip to main contentSkip to solution

Updating an existing row in a database is __________.

Solution

✅ Correct Option: 2

Updating an existing row is done with the SQL UPDATE statement, which changes the data stored in a table. Statements that insert, update, delete or retrieve data belong to Data Manipulation Language (DML).


Option 1: DDL changes the structure of the database (CREATE, ALTER, DROP), not the data inside the rows.

Option 3: DCL deals with permissions and access (GRANT, REVOKE).

Memory trick: DDL defines the structure, DML manipulates the data, DCL controls access.

Keyboard Shortcuts

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