bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

SQL ALTER TABLE Keyword

Flash cards

Review the key moves

1/4
Core idea

What is the main idea behind SQL ALTER TABLE Keyword?

Lesson checks

Practice each idea before moving on

Short Mimo-style checks built from this lesson's code, terms, and sequence.

1Quick choice

Which statement best captures the main point of this lesson?

2Fill blank

Complete the missing token from the example code.

___ TABLE Customers
3Order

Put the learning moves in the order that makes the concept easiest to apply.

The following SQL adds an "Email" column to the "Customers" table:
The ALTER TABLE command also adds and deletes various constraints in a table.
The ALTER TABLE command adds, deletes, or modifies columns in a table.

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 ALTER COLUMN Keyword

Next

SQL ALTER VIEW Keyword