postgresql command to clear all data from table code example Example: delete all entries postgres DELETE FROM tablename;