bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL ALTER TABLE Keyword

Concept visual

SQL ALTER TABLE Keyword

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

ALTER TABLE Keyword

Previous

❮ SQL Keywords

Next

Alter Table

The ALTER TABLE

command adds, deletes, or modifies columns in a table.

The ALTER TABLE

command also adds and deletes various constraints in a table. The following SQL adds an "Email" column to the "Customers" table:

Example

ALTER TABLE Customers

ADD Email varchar(255);
The following SQL deletes the "Email" column from the "Customers" table:

Example

ALTER TABLE Customers

DROP COLUMN Email;

Previous

❮ SQL Keywords

Next

Previous

SQL ALTER COLUMN Keyword

Next

SQL ALTER VIEW Keyword