mysql add column to existing table with default value after code example Example: mysql add column default value ALTER TABLE table1 ADD COLUMN foo INT DEFAULT 0;