CBSE Class 11 Informatics Practices Question 30 of 87

Structured Query Language (SQL) — Question 11

Back to all questions
11
Question

Question 11

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.