drop if exists postgres code example
Example 1: how to remove tables from postgresql
DROP TABLE IF EXISTS tablename;
Example 2: drop table if exists in postgres
drop table if exists tableName
DROP TABLE IF EXISTS tablename;
drop table if exists tableName