Which command is used to add a column/integrity constraint to a table in SQL?

2017

Which command is used to add a column/integrity constraint to a table in SQL?

Answer: A. Alter TableThe correct answer is A (Alter Table). In SQL, the ALTER TABLE statement is a Data Definition Language (DDL) command used to modify the structure of an…

  1. A.

    Alter Table

  2. B.

    Insert Column

  3. C.

    Modify Table

  4. D.

    All of these

Attempted by 340 students.

Show answer & explanation

Correct answer: A

The correct answer is A (Alter Table). In SQL, the ALTER TABLE statement is a Data Definition Language (DDL) command used to modify the structure of an existing table. It allows you to add, delete, or modify columns, as well as add or drop various integrity constraints.

Explore the full course: Uppsc Computer Operator Grade B

Loading lesson…