how to delte a table with a command on postgres code example
Example 1: how to remove tables from postgresql
DROP TABLE IF EXISTS tablename;
Example 2: psql delete table
DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]
DROP TABLE IF EXISTS tablename;
DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]