Add/Delete Column
Add: ALTER TABLE students ADD COLUMN city VARCHAR(40); Delete: ALTER TABLE students DROP COLUMN city; DROP COLUMN throws that data away.
Add AFTER marks if you care about column order (optional). Apps that SELECT * will see the new column — better to list columns in production SQL.
Trap — DROP COLUMN used by a live INSERT. Trap: ADD without a type.
On the example next to this theory: Add/Delete Column — aLTER TABLE changes structure without rebuilding the whole table.
Exam tip
ADD COLUMN city VARCHAR(40); DROP COLUMN city;