Dealing with SQL shows us some limitations and gives us an opportunity to imagine what could be.
Which improvements to SQL are you waiting for? Which would you put on t
WITH clause for other statements other than SELECT, it means for UPDATE and DELETE.
WITH
SELECT
UPDATE
DELETE
For instance:
WITH table as ( SELECT ... ) DELETE from table2 where not exists (SELECT ...)