Vidyalelo
Database · Q22

Introduction to SQL

Programming · Database · question 22

Q22

SQL query and modification commands make up a(n) ________ .

A.
DDL
Answer
B.
DML
C.
HTML
D.
XML

Answer: Option A

Solution

Answer: Option A
Solution:
Option A: DDL - DDL stands for Data Definition Language in SQL. It consists of commands used to define, modify, and remove database objects such as tables and indexes. Examples include CREATE, ALTER, and DROP commands.
Option B: DML - DML stands for Data Manipulation Language. It consists of commands used to manipulate data within database objects. Examples include INSERT, UPDATE, and DELETE commands.
Option C: HTML - HTML (Hypertext Markup Language) is not related to SQL query and modification commands. This option is incorrect.
Option D: XML - XML (eXtensible Markup Language) is not related to SQL query and modification commands. This option is incorrect.
Conclusion:
SQL query and modification commands that define and manipulate database objects are categorized under Option A: DDL (Data Definition Language). These commands are used to manage the structure and schema of the database.