Hacker News new | ask | show | jobs
Legible and efficient SQL, with CTEs (iron.io)
1 points by ThatMightBePaul 3941 days ago
1 comments

Legible? Absolutely. But it's important to keep in mind that CTE's are optimization fences. Optimizations like predicate pushdown are not currently available. More complicated queries may benefit from being rewritten with subqueries.