r/learnSQL • u/Gullible_Heart_5153 • Jun 15 '26
Anyone else struggle with SQL
Hello
For some reason I find SQL hard and I need to know if that’s the case for anyone else? I’ve only been doing this for 8 months. And I’m struggling. Any tips you can provide would be most helpful, thank you.
I can write basic queries. I struggle with Joins for some reason. That’s a basic thing. Please help.
Update: thank you everyone!! For all your words of encouragement. I appreciate it. I’m excited to continue to learn SQL. I was feeling defeated when I initially posted this and a lot of you have uplifted me.
79
Upvotes
View all comments
Show parent comment
2
u/Haunting-Paint7990 Jun 16 '26
yeah the multi-join part is where i lost it too. stats background so i was used to thinking in columns, not table relationships.
what helped: break each join into its own CTE and run it alone first with a row count comment at the top (
-- users: 1,240 rows). if CTE 3 suddenly jumps from 1,200 to 90,000 you know exactly which join exploded â fix that one before adding the next.also stopped trying to memorize join types abstractly and just ask "do i need rows from the right table even when there's no match?" yes = left join, no = inner. that's like 95% of DA interview SQL for me.
8 months in and joins still feeling rough is super normal btw. i'm ~1 year from zero and window functions still trip me up sometimes.