Hacker News new | ask | show | jobs
by radiowave 3938 days ago
Of course, you can first write the query with CTEs, then convert to the nested form. It's just substitution.

(For bonus points, keep the original CTE form, but commented out, to help with troubleshooting further down the road.)