add column after another column in mysql code example

Example 1: add column in mysq

ALTER TABLE Table_name
ADD Email varchar(255);

Example 2: insert column after column mysql

ALTER TABLE tbl_name
ADD COLUMN new_column_name VARCHAR(15) AFTER existing_column_name;

Example 3: create column mysql terminal

alter table icecream add column flavor varchar (20) ;

Example 4: add column in mysq

ALTER TABLE Table_name ADD name_column INT(255);

Example 5: sql add column after another

ALTER TABLE myTable ADD myNewColumn VARCHAR(255) AFTER myOtherColumn

Tags:

Sql Example