SQL ALTER TABLE Statement
The ALTER TABLE statement is used to modify an existing table structure, such as adding, deleting, or modifying columns, and altering table constraints.
In the statement below, we add a new column to the Customers table.
Example
Add a new column for storing the customer’s email:
ALTER TABLE Customers
ADD Email VARCHAR(100);
In this example, the ALTER TABLE statement adds a new column called Email with a data type of VARCHAR(100).
Video Explanation

Syntax
To add a column:
ALTER TABLE table_name
ADD column_name datatype;
To drop a column:
ALTER TABLE table_name
DROP COLUMN column_name;
To modify a column:
ALTER TABLE table_name
MODIFY COLUMN column_name datatype;
Demo Database
Below is a selection from the Customers table used in the examples:
| CustomerID | CustomerName | ContactName | Address | City | PostalCode | Country |
|---|---|---|---|---|---|---|
| 1 | Alfreds Futterkiste | Maria Anders | Obere Str. 57 | Berlin | 12209 | Germany |
| 2 | Ana Trujillo Emparedados y Helados | Ana Trujillo | Avda. de la Constitución 2222 | México D.F. | 05021 | Mexico |
| 3 | Antonio Moreno Taquería | Antonio Moreno | Mataderos 2312 | México D.F. | 05023 | Mexico |
| 4 | Around the Horn | Thomas Hardy | 120 Hanover Sq. | London | WA1 1DP | UK |
| 5 | Berglunds snabbköp | Christina Berglund | Berguvsvägen 8 | Luleå | S-958 22 | Sweden |
Adding a Column
Example
Add a Phone column to the table:
ALTER TABLE Customers
ADD Phone VARCHAR(15);
This example shows how to add a new column named Phone to the table.