Which of the following is an example of a Data Definition Language (DDL)…
2025
Which of the following is an example of a Data Definition Language (DDL) command ?
- A.
SELECT
- B.
INSERT
- C.
CREATE
- D.
UPDATE
Attempted by 177 students.
Show answer & explanation
Correct answer: C
Data Definition Language (DDL) commands are used to define and manage the structure of database objects, such as tables, indexes, and schemas. The CREATE command is a fundamental DDL statement used to create new database objects like tables, views, or indexes. For example, 'CREATE TABLE' defines a new table with specific columns and data types.\nIn contrast, SELECT (Option A) is part of Data Query Language (DQL), used for retrieving data. INSERT (Option B) and UPDATE (Option D) belong to Data Manipulation Language (DML), which handles modifying existing data within tables rather than defining the structure itself. Therefore, CREATE is the only option that fits the definition of a DDL command.