Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thejosh
· 4y ago · 0 comments
Looks great, but the example for SQL looks kind of bad. Is that how pg does things? I thought "modern SQL" used CTEs and other fun features, or this that not a thing for pg as much as say snowflake?
Comments
[–]
wafer-bw
4y ago
Yea the SQL example looks like the intentionally made it way worse than it needed to be...
[–]
1st1
4y ago
It was taken from Elvis' talk. Here's the video explaining how we get to this query and why:
https://youtu.be/WRZ3o-NsU_4?t=1892