r/learnSQL • u/Ok-Mix-5995 • Jan 22 '26
Where is the best place to learn SQL
Ive been wanting to learn how to do SQL for some time but I don’t know where to start. Are there any suggestions?
42
Upvotes
10
u/broken_trash_can Jan 22 '26
https://sqlbolt.com
7
u/DataCamp Jan 23 '26
If you’re starting from zero, it helps to learn SQL in layers. A lot of people get stuck because they skip steps.
Phase 1: Core basics (this is where everyone should start)
Phase 2: Working with real data
Phase 3: Multiple tables (this is the big jump)
Phase 4: Subqueries and logic
Phase 5: Cleanup and performance
How to practice
SQL usually feels boring at first, then suddenly very powerful once joins and grouping click. The key is writing lots of small queries instead of trying to “learn all of SQL” upfront.
4
u/jgpatrick3 Jan 23 '26
Build stuff with SQLite3. No db server to worry about. Great SQL implementation. When sometime puzzles you, Claude can explain and teach you alternatives.
3
u/TurbulentCountry5901 Jan 22 '26
SQL CASE FILES
2
u/dangerdangle278 Jan 25 '26
SQLCLIMBER is a great place to start.
1
u/Dependent_Month_1415 Jan 22 '26
If you’re just starting out, Mimo is a good way to learn the basics step by step. Udemy also has a bunch of decent SQL courses like The Complete SQL Bootcamp and SQL for Beginners, just make sure to look out for the sales, never pay full price for Udemy courses.
Make sure to also practice what you learn, the syntax seems simple in the beginning but you will quickly get lost without any practice.
1
u/Linkfoursword Jan 23 '26
There's so many places to learn - I currently am doing problems on coddy and taking a Udemy course as a refresher
1
u/Haxagon_06 Jan 23 '26
I like coding with mosh or udemy courses the give you projects right away which is awesome
1
u/PipelineInTheRain Jan 23 '26
CodeAcademy has free SQL courses that give you hands on practice.
1
u/NicolaIantomasi Jan 23 '26
If you want a general answer: the “best” place to learn SQL is one that gives you structure, practice, and real use cases, not just syntax.
A lot of people start with YouTube or random tutorials, but they often get stuck knowing SELECTs without understanding how SQL is actually used in real projects (databases, reporting, analytics, etc.).
If you’re comfortable learning in Italian, I run a platform called La Scuola dei Dati that includes a full SQL path designed for beginners and career switchers. It starts from the basics and goes deep into:
There are structured video lessons, weekly live sessions where we work on exercises and projects, and ongoing support. The cost is 9€ per month + VAT, and you can cancel anytime. You'll also find many resources on Python, Power BI, Machine Learning, and AI.
Link if you want to check it out:
https://www.patreon.com/cw/nicolaiantomasi
1
u/trenched_aster25 Jan 23 '26
Data lemur closed this case
1
u/fartifiedgood Jan 24 '26
https://mystery.knightlab.com/
Freecodecamp YouTube channel
Zed Shaw learn code the hard way
1
u/Reasonable_Neat7843 Jan 24 '26
Kaggle is a fantastic platform for learning SQL, especially if you want to apply your skills to real-world data problems. It offers a wide range of publicly available datasets and interactive notebooks where you can practice writing SQL queries. Kaggle also provides a free SQL course under its Kaggle Learn section, which covers essential concepts like SELECT statements, JOINs, and filtering. With its vibrant community, you can learn from shared notebooks, participate in discussions, and gain insights from real-world data challenges. Overall, Kaggle is an excellent resource for both beginners and those looking to sharpen their SQL skills.
1
u/youcc Jan 25 '26
https://www.w3schools.com/sql/
1
u/enyel89 Jan 26 '26
Search sql-practice. Literally write in the browser just like that and it will search it. It has exercises, documentation and help
1
u/edimaudo Jan 26 '26
There is no best place. I would suggest starting with a prompt using one of the LLM tools then generating exercises which you can then use sqlite or your flavour of sql tools to tackle the problem
1
u/troll_lucy Apr 13 '26
www.snowsql.com Designed by a 10-year experienced data scientist and no need to download the db
1
u/Fluid_Mall_307 Apr 28 '26
For beginners, I’d mix a couple of approaches instead of sticking to one:
Interactive sites: Boot.dev is a fun one if you like a more game-like, hands-on way to learn. It keeps things engaging while you practice SQL concepts.
Practice-focused: LeetCode and HackerRank have SQL sections where you can solve real problems and build confidence.
Structured learning: W3Schools is simple and beginner-friendly, while Khan Academy helps explain concepts step by step.
What helped me most was actually using SQL while learning—like creating small tables and running queries instead of just reading. Even something simple like querying a sample employee database can make things click way faster.
If you stick with one resource and practice consistently, you’ll pick it up quicker than you think.