delete postgresql table code example
Example 1: how to remove tables from postgresql
DROP TABLE IF EXISTS tablename;
Example 2: postgres clear table
TRUNCATE [ TABLE ] [ ONLY ] name [ * ] [, ... ]
[ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]