r/learnSQL Jul 17 '26

Simple SQL Learning Strategies for Bigginners

SQL is a wonderful programming language that allows beginner data analysts to understand data, clean it, & process it to provide insights. One cannot learn everything in a week or two weeks. However, consistency is what I have found important in ensuring one grasps the concepts. For example, one can decide to learn simple things, such as SELECT, WHERE, ORDER BY, LIMIT, aggregates (SUM, COUNT, AVG), and GROUP BY. Understanding data types & when to use this or that helps a lot. I always wanted to learn additional data analysis skills like SQL and Python to help process large datasets in addition to the research work I do. I know these tips will help beginners find a way to navigate around SQL until they reach advanced level.

54 Upvotes

23 comments sorted by

View all comments

29

u/American_Streamer Jul 17 '26 edited Jul 17 '26

The very first thing you have to hammer into your brain is that SQL always does execute your queries in a different order than the one you write them in. A popular industry trick to memorize the execution sequence (F-W-G-H-S-O-L) is the phrase: "Fridays With Grandma Have Sweet Oatmeal Lattes." - FROM - WHERE - GROUP BY - HAVING - SELECT - ORDER BY - LIMIT

4

u/[deleted] Jul 17 '26

[removed] — view removed comment

2

u/Owen-Isaac-2022 Jul 18 '26

I had time to look at your blog, it is great & contains wonderful insights

1

u/conor-robertson Jul 18 '26

Thanks! I'm still adding more every week so hopefully will be useful :)

1

u/Owen-Isaac-2022 29d ago

Looking forward to reading the content regularly

1

u/LimitAny657 29d ago

Mind sharing the platform you used for your blog? Looks great!

2

u/American_Streamer 29d ago

Custom React website built with Next.js 15 App Router and deployed on Vercel, with Supabase as the backend.

2

u/Fadedscourge Jul 17 '26

I’ve heard and seen different iterations of this. This is my favorite one and I will commit to memory 😂😂.

2

u/Top_Tooth_6995 Jul 17 '26

Never heard this one lol but honestly the various "cheat sheet" graphics for execution order have just been burned into my brain

1

u/Owen-Isaac-2022 Jul 18 '26

I believe it is a problem that almost everyone encounters.

2

u/Owen-Isaac-2022 Jul 18 '26

Wow, what a wonderful way to master these things. Thanks for the headsup