CBSE Class 12 Computer Science Question 30 of 79

Table Creation and Data Manipulation Commands — Question 4

Back to all questions
4
Question

Question 4

Consider the following SQL statement. What type of statement is this ?

INSERT INTO instructor VALUES (10211, 'Shreya' , 'Biology', 66000 ) ;
  1. Procedure
  2. DML
  3. DCL
  4. DDL
Answer

DML

Reason — The above SQL statement is Data Manipulation Language (DML) statement. DML statements are used to access and manipulate data in tables. The DML commands include SELECT, LOCK TABLE, UPDATE, INSERT INTO, DELETE. In this case, the INSERT INTO statement is used to insert a new row of data into the instructor table.