logoalt Hacker News

mcdonjetoday at 11:33 AM1 replyview on HN

There's some good stuff in here. I didn't know about the issues an aggregation in a CTE can cause and haven't used EXISTS much.

Regarding recursive CTEs, you might be interested in how DuckDb evolved them with USING KEY: https://duckdb.org/2025/05/23/using-key


Replies

scythmic_wavestoday at 12:55 PM

That was also a great read, thanks!