In order to add a new column to an existing table in SQL, which command is used?

2022

In order to add a new column to an existing table in SQL, which command is used?

Answer: C. ALTER TABLEThe ALTER TABLE command is used to add, delete, or modify columns in an existing SQL table.

  1. A.

    MODIFY TABLE

  2. B.

    EDIT TABLE

  3. C.

    ALTER TABLE

  4. D.

    ALTER COLUMNS

Attempted by 2707 students.

Show answer & explanation

Correct answer: C

The ALTER TABLE command is used to add, delete, or modify columns in an existing SQL table.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Rssb Basic Computer Instructor

Loading lesson…