add column in existing talbe sql code example
Example 1: alter table add column
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
Example 2: alter table add column
ALTER TABLE table_name
ADD column_name datatype;
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table_name
ADD column_name datatype;