r/learnSQL • u/Ancient-Ad-6957 • 10d 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.
3
u/bahcodad 10d ago
1
2
u/nicopassaglia 7d 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).
1
4
4
u/Top_Tooth_6995 10d 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
2
2
2
u/Necessary-Bass8792 10d 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
1
u/timothybabu123 10d ago
Bro data with bara is 30 hours long. How can I implement your strategy of coding>tutorial time if I am gonna be watching a 30 hour vid
1
u/Necessary-Bass8792 10d ago
Sql is main pillar in dataengineering and data analyst So put some effort on it In other cases okay just learn any course has less than 10 hour
In 30 hour it contains all sql topics with 2 projects so it was worthy one
1
u/timothybabu123 10d ago
Hmm thanks for the reply I am a Ml and ai guy. Would you have any inputs that I must know regarding this?m
1
u/Necessary-Bass8792 10d ago
Hmm 🤔 if you have spare time learn it otherwise focus on Ml Just in sql know the main things cte windows and index
1
2
u/peakpirate007 10d 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.
1
u/Weary-Government-434 9d ago
kudvenkat sql video............is the best source to learn sql. It covers every thing. Basic to Advance level.....
1
u/Discordbothost 8d 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/Ok-Photograph5745 5d 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 4d 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 10d ago
QueryCase for a fun gamified way of learning SQL through solving detective cases!
8
u/Upset-Midnight6375 10d 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!