KnowledgeBoat Logo

Informatics Practices

Assertion (A): In SQL, INSERT INTO is a Data Definition Language (DDL) Command.

Reason (R): DDL commands are used to create, modify, or remove database structures, such as tables.

  1. Both A and R are true, and R is the correct explanation of A.
  2. Both A and R are true, and R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.

DDL & DML

1 Like

Answer

A is false but R is true.

Explanation
In SQL, INSERT INTO is a Data Manipulation Language (DML) Command. Data definition language (DDL) commands in SQL are used to define a database, including creating, altering, and dropping tables.

Answered By

1 Like


Related Questions