add column to db table code example
Example 1: add column to table sql
ALTER TABLE table_name ADD column_name varchar(50);
Example 2: alter table add column
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table_name ADD column_name varchar(50);
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;