How to Drop a Column in PostgreSQL
This example deletes the column my_column
of table my_table
:
ALTER TABLE my_table
DROP COLUMN my_column;
This example deletes the column my_column
of table my_table
:
ALTER TABLE my_table
DROP COLUMN my_column;
DB Pilot is a Database GUI client and SQL editor for PostgreSQL, MySQL, SQLite, DuckDB & more.