Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Legible and efficient SQL, with CTEs | Better HN
Legible and efficient SQL, with CTEs
(iron.io)
1 points · by
ThatMightBePaul
· 11y ago · 1 comment
Comments
[–]
jgavris
11y ago
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.