Register now or log in to join your professional community.
using RETURNING clause
WITH deleted AS (DELETE FROM table WHERE condition IS TRUE RETURNING *) SELECT count(*) FROM deleted;
Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.