how to delete a table from a database in postgres code example
Example 1: how to remove tables from postgresql
DROP TABLE IF EXISTS tablename;
Example 2: delete db postgres
dropdb 'database name'
DROP TABLE IF EXISTS tablename;
dropdb 'database name'