Which of the following SQL statement would you typically use when you need to…

2025

Which of the following SQL statement would you typically use when you need to add a new column to an already existing table structure?

  1. A.

    INSERT INTO

  2. B.

    ALTER TABLE

  3. C.

    MODIFY TABLE

  4. D.

    UPDATE COLUMN

Attempted by 148 students.

Show answer & explanation

Correct answer: B

The ALTER TABLE statement is used to modify the structure of an existing table in SQL. To add a new column, the syntax is typically:

ALTER TABLE table_name
ADD column_name datatype;

Therefore, Option B is correct because it is specifically designed for changing table structures.

Explore the full course: Niacl Ao It Specialist