alter table mysql
snippet in sql

add new column to the table mysql

user1364

ALTER TABLE `TABLE_NAME` 
	ADD `COLUMN_NAME` VARCHAR(50) NULL
    AFTER `COLUMN_NAME_AFTER`;

alter table add column

user1096

ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;

mysql add column

user3727

ALTER TABLE table_name
ADD [COLUMN] column_name column_definition [FIRST|AFTER existing_column];

alter table column in mysql

user1844


ALTER TABLE table_name

MODIFY column_name datatype; 

mysql alter table add column

user2625

ALTER TABLE table
  ADD [COLUMN] column_name column_definition
  [FIRST|AFTER existing_column];

alter table mysql

user2626

ALTER TABLE contacts
  ADD last_name varchar(40) NOT NULL
    AFTER contact_id,
  ADD first_name varchar(35) NULL
    AFTER last_name;