122
Why most developers stop learning SQL at subqueries - a 5-minute guide for PARTITION BY and CTEs
(zaidesanton.substack.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
You say that like it's a good thing. I like my queries simple.
Also - the stuff you have under "stage 6" should all be learned before "stage 2" in my opinion. Knowing how to write efficient queries is far more important than group by / join / etc.
Huh? How do you write an efficient query and not take into account joins? A single table query? Are you a Prisma fan?
Ooooh, that's a good burn
Joining is one of the simplest and most useful things in SQL.
How can you possibly query without it?
Simple queries are obviously better but not everything can be achieved with simple selects.