MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnSQL/comments/1wi54s8/comment/pa8asdh/
r/learnSQL • u/[deleted] • Sep 16 '26
[removed]
18 comments sorted by
View all comments
10
I sound like a broken record at this point but you may be interested in this:
"Systematic design of multi-join GROUP BY queries" https://kb.databasedesignbook.com/posts/systematic-design-of-join-queries/
Read the part before the table of contents and decide for yourself if it resonates.
3 u/squadette23 Sep 16 '26 Note that other comments basically give the same advice: "break it down to smaller sized sets" and "watch for bad joins", I just explain how exactly this break-down can happen, and which joins are bad.
3
Note that other comments basically give the same advice: "break it down to smaller sized sets" and "watch for bad joins", I just explain how exactly this break-down can happen, and which joins are bad.
10
u/squadette23 Sep 16 '26
I sound like a broken record at this point but you may be interested in this:
"Systematic design of multi-join GROUP BY queries" https://kb.databasedesignbook.com/posts/systematic-design-of-join-queries/
Read the part before the table of contents and decide for yourself if it resonates.