Dodaj kolumnę w 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
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table
ADD [COLUMN] column_name column_definition [FIRST|AFTER existing_column];
Code language: SQL (Structured Query Language) (sql)