MySQL Database

MySQL Alter Table

Change the structure of an existing table.

ALTER TABLE products
ADD COLUMN sku VARCHAR(50);

ALTER TABLE can add, modify, rename, or drop columns and constraints. Test structural changes before production.