alter table add column and alter column 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;