delete column from table in postgres code example
Example 1: psql drop column
ALTER TABLE table_name
DROP COLUMN column_name;
Example 2: psql drop field
ALTER TABLE table_name DROP COLUMN column_name;
ALTER TABLE table_name
DROP COLUMN column_name;
ALTER TABLE table_name DROP COLUMN column_name;