DELETE FROM table WHERE condition;
DELETE FROM table
WHERE condition;
DELETE FROM table
USING another_table
WHERE table.id = another_table.id;
DELETE FROM mytable
WHERE ctid IN (
SELECT ctid
FROM mytable
GROUP BY s.serialId, s.valuetimestamp
ORDER BY s.serialId
LIMIT 10
)