r/learnSQL • u/Ancient-Ad-6957 • 7d 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.
57
Upvotes
View all comments
2
u/nicopassaglia 5d 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).