Computer Science

In SQL, which command(s) is(are) used to change a table's structure / characteristics ?

  1. ALTER TABLE
  2. MODIFY TABLE
  3. CHANGE TABLE
  4. All of these

DDL & DML

1 Like

Answer

ALTER TABLE

Reason — The ALTER TABLE command in SQL is used to change the definitions of existing tables. It allows for various operations such as adding a new column, redefining a column, and adding an integrity constraint. Therefore, it changes the structure of the table.

Answered By

3 Likes


Related Questions