add a new column to a database table code example
Example 1: alter table add column
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
Example 2: script to add new column in table sql
ALTER TABLE table_name
ADD column_name datatype;