Tambahkan kolom di mysq
ALTER TABLE Table_name
ADD Email varchar(255);
Rich Rook
ALTER TABLE Table_name
ADD Email varchar(255);
ALTER TABLE `TABLE_NAME`
ADD `COLUMN_NAME` VARCHAR(50) NULL
AFTER `COLUMN_NAME_AFTER`;
ALTER TABLE Table_name ADD name_column INT(255);
alter table icecream add column flavor varchar (20) ;
ALTER TABLE table_name
ADD [COLUMN] column_name column_definition [FIRST|AFTER existing_column];
-- ALTER TABLE tbl_name ADD COLUMN column_name column_definition
-- [FIRST|AFTER existing_column];
ALTER TABLE office ADD COLUMN phone VARCHAR(200) DEFAULT '000' AFTER name;
ALTER TABLE office ADD COLUMN flag INT(1) FIRST;
ALTER TABLE office ADD COLUMN last_col INT(2); -- Last column is default position
-- ↓ Test it (Fiddle)