Syntax

SQL Drop a Column Syntax

In SQL, drop a column: removes a column from a table — ALTER TABLE users DROP COLUMN phone;

Quick Answer

Syntax
ALTER TABLE users DROP COLUMN phone;
SQLSyntax

Drop a Column

Code example
ALTER TABLE users DROP COLUMN phone;

Removes a column from a table.

Learn More

How to drop a column in SQL

  1. Open your SQL file or editor.
  2. Copy the example, then replace its sample names and values for your code.

SQL Drop a Column Syntax

Use ALTER TABLE users DROP COLUMN phone;.

Related Syntax References

Frequently asked questions

What is the SQL syntax for drop a column?

Use this pattern: ALTER TABLE users DROP COLUMN phone;

Can I copy this SQL code example?

Yes. Use Copy code and adapt the example to your program.

Is this SQL syntax different on Mac or Windows?

No. The language syntax is the same across operating systems.

Official source · How we verify