SQLSyntax
Drop a Column
Code example
ALTER TABLE users DROP COLUMN phone;Removes a column from a table.
In SQL, drop a column: removes a column from a table — ALTER TABLE users DROP COLUMN phone;
ALTER TABLE users DROP COLUMN phone;ALTER TABLE users DROP COLUMN phone;Removes a column from a table.
Use ALTER TABLE users DROP COLUMN phone;.
Use this pattern: ALTER TABLE users DROP COLUMN phone;
Yes. Use Copy code and adapt the example to your program.
No. The language syntax is the same across operating systems.