CBSE Class 12 Informatics Practices Question 42 of 103

Review of Database Concepts & SQL — Question 12

Back to all questions
12
Question

Question 12

Which of the following are DDL commands?

(A) Delete

(B) Create

(C) Update

(D) Alter

(E) Drop

  1. (B), (D) and (E)
  2. (A), (B) and (D)
  3. (B), (C) and (D)
  4. (A), (B) and (C)
Answer

(B), (D) and (E)

Reason — DDL (Data Definition Language) commands are used to create and define tables and other database objects in SQL (Structured Query Language). DDL commands such as CREATE, ALTER, and DROP, are used to create, define, change and delete objects like tables, indexes, views, and constraints.