sql how to add a colum to the table code example
Example 1: add column to table sql
ALTER TABLE table_name ADD column_name varchar(50);
Example 2: add new column in table
ALTER TABLE vendors
ADD COLUMN phone VARCHAR(15) AFTER name;
Code language: SQL (Structured Query Language) (sql)