xxxxxxxxxx
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
xxxxxxxxxx
-- For More Tutorial, visit NAYCode.com
Alter Table [Table Name] Add [Column Name] [datatype]
xxxxxxxxxx
ALTER TABLE vendors
ADD COLUMN phone VARCHAR(15) AFTER name;
Code language: SQL (Structured Query Language) (sql)
xxxxxxxxxx
ALTER TABLE table_name
ADD column_name data_type column_constraint
xxxxxxxxxx
ALTER TABLE vendors
ADD COLUMN phone VARCHAR(15) AFTER name;
Code language: SQL (Structured Query Language) (sql)