ALTER TABLE Customers
ADD Email varchar(255);
ALTER TABLE table_name ADD column_name varchar(50);
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table_name
ADD column_name datatype;
ALTER TABLE Customers
ADD phone varchar(10);
ALTER TABLE table ADD [COLUMN] column_name;
ALTER TABLE table_name
ADD column_name data_type column_constraint
ALTER TABLE table_name
ADD COLUMN column DATA_TYPE;
# 25. Adding a new column
df['Country'] = 'USA'
df['Country'] = 'USA'
df.head()
ALTER TABLE vendors
ADD COLUMN phone VARCHAR(15) AFTER name;
Code language: SQL (Structured Query Language) (sql)