Which of the following is a DML command in SQL?

2025

Which of the following is a DML command in SQL?

Answer: A. UPDATEDML (Data Manipulation Language) commands are used to manipulate data within a database. These include commands like SELECT, INSERT, UPDATE, and DELETE. DDL…

  1. A.

    UPDATE

  2. B.

    CREATE

  3. C.

    ALTER

  4. D.

    DROP

Attempted by 1591 students.

Show answer & explanation

Correct answer: A

DML (Data Manipulation Language) commands are used to manipulate data within a database. These include commands like SELECT, INSERT, UPDATE, and DELETE. DDL (Data Definition Language) commands, on the other hand, are used to define or modify the structure of database objects. Examples include CREATE, ALTER, and DROP. Among the given options, UPDATE is used to modify existing data in a table, making it a DML command. CREATE, ALTER, and DROP are used to create, modify, or delete database structures, which are DDL commands. Therefore, the correct answer is UPDATE.

Explore the full course: Rssb Basic Computer Instructor

Loading lesson…