drop table column in postgresql code example
Example 1: psql drop column
ALTER TABLE table_name
DROP COLUMN column_name;
Example 2: postgresql drop table
DROP TABLE name;
ALTER TABLE table_name
DROP COLUMN column_name;
DROP TABLE name;