Computer Science for IGCSE & O level - Databases (Section 3 - No. 41)

What does the 'ALTER TABLE' command do in SQL?
Deletes a table from the database.
Modifies the structure of an existing table.
Inserts data into a table.
Retrieves data from a table.

Explanation

ALTER TABLE is used to modify the structure of an existing table, such as adding or removing columns, or changing data types.

Comments (0)

Advertisement