Sitemap
Esther Anagu

Esther Anagu

Data Scientist and Analyst | Content Creator | Over 125k followers on LinkedIn. I'm dedicated to empowering the data community by sharing invaluable resources.

SQL Cheat Sheet

The 20% of SQL you will use 80% of the time

2 min readOct 15, 2026

--

Press enter or click to view image in full size

When I started learning SQL, I thought I had to memorize hundreds of commands.
I didn’t.

Most of the queries I write every day come from the same small set of building blocks:

→ SELECT and FROM to pick your data
→ WHERE to filter rows
→ GROUP BY and HAVING to summarize
→ JOIN to combine tables
→ CASE and COALESCE to handle the messy stuff

Once you understand the order SQL actually runs your query (FROM first, SELECT later), everything starts to make sense. That one idea cleared up so much confusion for me.

So I put the essentials on one page, including the beginner traps that trip almost everyone up (yes, = NULL is one of them).

Get Esther Anagu’s stories in your inbox

Join Medium for free to get updates from this writer.

Save this for your next practice session, and send it to someone who’s just starting out.

If you’re ready to go deeper, these guided courses are worth your time:
→ SQL Track (beginner → job-ready): https://datacamp.pxf.io/KBE1jv
→ Associate Data Analyst in SQL: https://datacamp.pxf.io/enjg6D
→ Data Analyst Certification (prep + exam): https://datacamp.pxf.io/rEOn65

What was the SQL concept that finally clicked for you? Tell me below 👇

______________
I wrote a beginner Excel guide for anyone wanting to learn Excel.

Get a copy here: https://selar.com/sql_guide

Other guides and templates here: https://selar.com/m/Anaest?category=data-guide-templates
____________
If you’re feeling stuck, overwhelmed, or unsure about your next steps in the data space, let’s talk here: https://coachli.co/anaest/SV-FEo66

And if you’re serious about leveling up, join my channels for more direct insights:
↳ My Instagram page: https://www.instagram.com/anaest_in_tech/
↳ My WhatsApp channel: https://whatsapp.com/channel/0029VazWeLyKLaHlKsDfoe0H
↳ My YouTube channel: https://www.youtube.com/@anaest_in_tech

#SQL #DataAnalytics #DataScience #LearnSQL #CareerSwitch #DataCareers
#TechCareers

--

--

Data Scientist and Analyst | Content Creator | Over 127k followers on LinkedIn. I'm dedicated to empowering the data community by sharing invaluable resources.

See more from me