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
5
u/dumi_007 Jun 15 '26
Sometimes it helps in the initial stages to write your JOINS using Common Table Expressions (CTEs). Test. And optimise
After that you can optimise into subqeries. From experience, subqueries work faster. But CTEs are easier to think through. If the data is small, use CTEs.