delete from table postgres code example
Example 1: how to remove tables from postgresql
DROP TABLE IF EXISTS tablename;
Example 2: delete entries in postgresql
DELETE FROM table WHERE condition;
Example 3: delete all entries postgres
DELETE FROM tablename;
Example 4: postgresql drop table
DROP TABLE name;
Example 5: delete entries in postgresql
DELETE FROM table
USING another_table
WHERE table.id = another_table.id;
Example 6: psql delete table
DROP TABLE [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ]