CBSE Class 12 Computer Science Question 6 of 78

Simple Queries in SQL — Question 6

Back to all questions
6
Question

Question 6

Assertion. DDL and DML both are part of SQL.

Reason. Both DDL and DML are interchangeable.

Answer

(c)

Assertion is true but Reason is false.

Explanation
DDL and DML are two subcategories of SQL. Data definition language (DDL) commands in SQL are used to define a database, including creating, altering, and dropping tables whereas Data manipulation language (DML) statements are used to retrieve, insert, update, and delete data in a database. Hence, DDL and DML are two different commands and are not interchangeable.