PostgreSQL - Set Operations and Advanced Queries
Consider the table
What will this query return?
tasks(id INT, status TEXT) with rows:(1, 'pending'), (2, 'done'), (3, 'pending')What will this query return?
DELETE FROM tasks WHERE status = 'pending' RETURNING id;