- Home
- Class - 12 CBSE Computer Science — Assertion Reason Type Questions
Assertion. DDL and DML both are part of
Class - 12 CBSE Computer Science — Assertion Reason Type Questions
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.