drop column from table in sql code example
Example 1: drop columnsql
ALTER TABLE table_name
DROP COLUMN column_name
Example 2: sql query alter table drop column
ALTER TABLE Customers
DROP COLUMN ContactName;
Example 3: sql delete column
Deletes a column from a table.
Example: Removes the first_name column from the users table.
ALTER TABLE users
DROP COLUMN first_name