how to add a field in a table in sql code example
Example 1: alter table add column
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
Example 2: sql how to add a 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;