Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sqldevuser
· 6y ago · 0 comments
Here is a single query to get you both solutions.
https://pastebin.com/P7LN9jMz
This was after I solved it the old fashioned way though :)
Comments
[–]
ticmasta
6y ago
I thought you had created a single massive join to find the answer and was pre-impressed. This is fine in the strict "correct solution" answer but totally against the spirit, so boo!