r/learnSQL • u/Ancient-Ad-6957 • 11d ago
Free sources to learn SQL
Hi everyone, I'm a 3rd-year B. Tech Data Science student and I want to learn SQL from scratch. I don't have money to take a course and I don't want to fall into tutorial hell, so please suggest some free and good resources to learn SQL.
58
Upvotes
8
u/Upset-Midnight6375 11d ago
I personally studied from this playlist and i am a senior data scientist now.
Playlist - https://youtube.com/playlist?list=PL5p3cg1XMMPIzkkgJ_SNrKO-Avp9-1qUu&si=ijgG7pluPH3kPYkc
This has just 7 videos. All of them are rooted with what industry needs from you. Must watch!
3
u/bahcodad 11d ago
SQL Tutorial - Full Database Course for Beginners - FreeCodeCamp
2
u/nicopassaglia 8d ago
To avoid tutorial hell, skip video courses and pick things where you type queries from minute one:
- SQLBolt: short interactive lessons, good for the first few days.
- Select Star SQL: a free interactive book built around one real dataset.
- PGExercises: lots of practice once you know SELECT and JOIN.
- CS50's Introduction to Databases with SQL: free, if you want one structured course with problem sets.
Then stop learning and build something: load a CSV from Kaggle into SQLite or Postgres and answer 20 questions about it. For a data science student that project is worth more than any certificate.
Rough order to learn: SELECT/WHERE → GROUP BY → JOINs → subqueries and CTEs → window functions. Most interview questions for data roles sit in the last three.
Disclosure: I built a free one too, getsheetdrill.com/sql. You write queries in the browser on a real database and get checked instantly, no sign-up. The first 4 lessons, the level test and the interview questions with answers are free (later lessons are paid).
4
u/InsuranceSavings1003 11d ago
Data with Baraa is really good
4
u/Top_Tooth_6995 11d ago
If you don’t have money to take a course, and don’t want to fall into tutorial hell (ie, you want hands on practice with real world problems), then SQLMaxx Learn is a great fit for you (yes, you can earn a free certificate as well!) - It covers beginner through advanced, analyst-level SQL, with over 600 practice problems and 66 lessons
2
u/Apprehensive_Way4220 11d ago
Ankit bansal, Namaste SQL youtube and also use gfg
2
u/Prasanna_don 11d ago
Sqlzoo
2
u/Prasanna_don 11d ago
Sqlzoo
2
u/Necessary-Bass8792 11d ago
Please practice more of you study one hour practice atleast two hours on the topics you study on that day Always coding beats toturial Data with bara for concept understanding really create
2
u/peakpirate007 11d ago
been building https://www.runtime.school/ for learning and practicing sql/python in one place. lessons, practice, projects and a few tools all use the same datasets, so it feels more connected than jumping between random examples. if you’re learning sql/python, might be useful.
2
u/slrworkbooks 10d ago
Try https://querybench.dev/.
2
u/imeva_ 9d ago
Data with Baraa
SQL Full Course for Beginners (30 Hours) – From Zero to Hero
In addition to this, you should definitely practice and discuss the topics with ChatGPT, Claude, or Gemini.
1
u/tmk_g 10d ago
W3Schools
1
u/Weary-Government-434 10d ago
kudvenkat sql video............is the best source to learn sql. It covers every thing. Basic to Advance level.....
1
u/Discordbothost 9d ago
Try the SQLZoo JOIN exercises, then count orders per customer in two tiny tables of your own. Add a customer with zero orders. If they disappear, try LEFT JOIN. If they show 1, count order IDs instead of rows.
1
u/Akwrd_Onee 7d ago
https://sqlbolt.com/
1
u/ebwaked 7d ago
Try mindshark to build structured lessons based on your level
1
u/Ok-Photograph5745 6d ago
Hello, i have recently built a SQL visualizer. I am myself a beginner and built it to clear my own understanding of clauses and execution order in SQL. Its not a course or a tutorial, rather a playground to develop basic fundamental understanding by writing your own queries. Here is the link if youd like to check this out: https://see-ql-iota.vercel.app/
1
u/TheDataScienceTutor 5d ago
Search for DataCamp to start - it will teach you the basics very well for free. I'm actually working to create my own free bootcamp with applied resources, but it won't be available for a while because I want to make sure it's strong before releasing it.
1
u/conor-robertson 11d ago
QueryCase for a fun gamified way of learning SQL through solving detective cases!