CS FundamentalsEasyTCS NQT · Infosys pattern

Which of these SQL commands is a DDL (Data Definition Language) command?

  1. A. INSERT
  2. B. UPDATE
  3. C. ALTER
  4. D. SELECT

Correct answer: C. ALTER

DDL commands define or change structure: CREATE, ALTER, DROP, TRUNCATE, RENAME. INSERT and UPDATE are DML; SELECT is a query (DQL/DML).

More DBMS and SQL questions

Exams that ask this topic