Learn SQL
Scrimba's free beginner course on SQL, taught by Gregor Thomson across roughly 3.8 hours. It takes the core database query language from first principles up to joins and conditional logic.
Quick answer
Learn SQL is Scrimba's free, beginner-level SQL course: about 3.8 hours across three modules and 50 lessons, taught by Gregor Thomson. You start with basic queries, move to creating and joining tables, and finish with more advanced logic and conditions. It assumes no prior programming and works well as a first database course, making it a natural backend anchor.
Learn SQL
FreeTaught by Gregor Thomson (opens in a new tab)
A free, beginner SQL course covering queries, joins, and conditional logic, taught from scratch in the browser.
Start free on Scrimba (opens in a new tab)Is it worth your time?
It is free, it assumes nothing, and SQL is one of the most durable skills in software. The language barely changes year to year, so the hours you put in here keep paying off across data work, backend development, and analytics. As a first database course it is hard to fault on value.
The honest caveat is that SQL has a long tail this course does not reach. You learn enough to query and join confidently, but production topics like indexing strategy, query performance tuning, transactions, and database design beyond the basics live outside the 3.8 hours. That is appropriate for a beginner anchor; just know it is a starting point, not the whole subject.
What you'll learn
Course curriculum
3 modules
- Fundamentals of SQL
- Creating and Joining Tables
- Advanced Logic and Conditions
The progression is sensible. Fundamentals is the largest block and covers selecting, filtering, and shaping result sets. Creating and Joining Tables is where SQL becomes powerful, since most real questions span more than one table. Advanced Logic and Conditions adds the conditional and grouping tools that turn raw queries into answers. By the end you can read and write the queries most applications actually run.
Who it's for, and who should skip it
It fits complete beginners who want a first real grounding in databases, and frontend or full-stack learners who can already build interfaces but freeze the moment data needs querying. No prior code is required.
Skip it if you already write SQL comfortably and want depth on performance, indexing, or schema design, since this stays at the fundamentals. Those topics are better served by a database-specific resource after this.
Prerequisites
None. The course is built for beginners and assumes no programming background. A browser and willingness to type queries are enough.
Where it fits
Learn SQL sits on both the Backend Developer Path and the Fullstack Developer Path as the database foundation. It pairs naturally with Intro to Supabase, which puts a Postgres database behind a real app once you understand the query language underneath it.
Free or Pro
The course itself is free, with no subscription required to start or finish it. Scrimba Pro is a separate decision that unlocks the structured career paths, the coding challenges, the private Discord, and certificates. For this course alone you never have to pay. See current plans if you later want the path structure around it.
Strengths and limits
What it does well: it is free, it assumes nothing, it teaches a skill that ages well, and the interactive format lets you run queries as you learn rather than just reading them.
Where it is limited: it stops at the fundamentals, so it does not cover performance tuning, indexing, transactions, or deeper schema design. For those you graduate to a database-specific course after this one.
Related courses and comparisons
- Intro to Supabase, to put SQL to work behind a real app
- Build a Mobile App with Firebase, a different backend approach
- Learn Regular Expressions, another short, free backend skill
- Scrimba vs freeCodeCamp, if you are choosing a platform
Yes. The full course is free with no Pro subscription required. Pro is only needed for the career paths, certificates, and Discord.
Yes. It is rated Beginner and assumes no prior programming, so it works as a first database course.
No. It covers fundamentals, joins, and conditional logic. Performance tuning, indexing, and deep schema design are beyond its scope.
Gregor Thomson, an instructor on the Scrimba platform. You learn by writing queries directly in the browser.