how to add column to existing table code example
Example 1: alter table add column
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
Example 2: Add a new column into table
ALTER TABLE table ADD [COLUMN] column_name;
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table ADD [COLUMN] column_name;