Hacker News new | ask | show | jobs
by dragonwriter 2031 days ago
If you are just binding variables with early (before the last one that returns data) selects like that, just turning them into subqueries or factoring them out to CTEs works, which should be reasonably straightforward mechanically.