Computer Science - Class 12
Solutions to CBSE Sample Paper - Computer Science Class 12

Categorize the following commands as DDL or DML:

INSERT, UPDATE, ALTER, DROP

 

Answer:

DDL - ALTER, DROP

DML - INSERT, UPDATE

Explanation:

DDL stands for Data Definition Language and DDL commands are used to create and modify the structure of a database and database objects.

DML stands for Data Manipulation Language and DML commands deal with the manipulation of data present in the database.

Ask a doubt
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.