statement

ALTER TABLE

Changes an existing table definition. A nullable new column without a default is initially NULL for existing rows. Example target: SQLite 3.46.1. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
ALTER TABLE name ADD COLUMN column type

Working Example

Example Snippetsql
ALTER TABLE customers ADD COLUMN email VARCHAR(100);
SQL Reference