CBSE Class 12 Computer Science Question 5 of 78

Simple Queries in SQL — Question 5

Back to all questions
5
Question

Question 5

Assertion. DDL and DML are not the same.

Reason. DDL and DML are two subcategories of SQL where DDL creates the objects and DML manipulates the data.

Answer

(a)

Both Assertion and Reason are true and Reason is the correct explanation of Assertion.

Explanation
DDL and DML commands are two different commands 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) commands are used to retrieve, insert, update, and delete data in a database.