The Archive Vaults
Learn SQL
Ask databases questions — query, join, summarise and change real data with SQL.
Learn SQL online with interactive lessons. Write real queries against a SQLite database in your browser, pass tests and level up. First chapter free.
First 7 lessons free · Finish within 30 days after buying and get $10.50 back
Want more than one course?
The All-Access Pass unlocks all 8 courses and every new one we release, for $120 once.
Course map
6 chapters, 30 lessons
- 10/7
Querying Basics
Ask your first questions: SELECT columns, filter rows with WHERE, sort and limit results.
- 1SQL SELECT: Your First QueryEasy · 10 XPFree
- 2SQL SELECT Columns: Choose, Rename with AS and CalculateEasy · 10 XPFree
- 3SQL WHERE: Filter Rows with ConditionsEasy · 10 XPFree
- 4SQL ORDER BY and LIMIT: Sort Results and Page Through RowsMedium · 20 XPFree
- 5SQL LIKE, IN, BETWEEN and IS NULL: Patterns, Lists and RangesMedium · 20 XPFree
- Quiz: SQL Querying BasicsQuiz · 10 XPFree
Boss: The Records KeeperHard · 100 XPFree
- 20/5
Aggregates & Grouping
Count, sum and average data, and summarise it per group.
- 30/5
Joins
Combine rows from several tables with INNER and LEFT JOIN.
- 40/4
Changing Data
Add, change and remove rows with INSERT, UPDATE and DELETE.
- 50/4
Designing Tables
Create your own tables with the right types, constraints and foreign keys.
- 60/5
Advanced Queries
Subqueries, CASE, common table expressions and window functions.
About this SQL course
SQL is the language of data. Almost every app, website and company keeps its information in a database — users, orders, payments, messages — and SQL is how developers and analysts ask that database questions. It is one of the most useful skills in tech: backend developers, data analysts, data scientists and product managers all use it every day.
In this course you query a real SQLite database that runs right in your browser. The database holds the records of a fantasy realm — its heroes, guilds, quests and market — so every query answers a question you can picture: Which heroes are above level 10? Which guild earned the most gold? Which items has nobody bought?
Every lesson is short and practical. You write a query, press Run to see the result table, and press Submit: automated tests compare your result with the expected one and show you exactly which rows or columns differ. You start with SELECT and WHERE, move on to grouping and joins, learn to change data and design your own tables, and finish with subqueries, CTEs and window functions. Each chapter ends with a boss battle, and you earn XP, streaks and loot as you go.
No installs and no setup — just your browser. SQL is part of the Backend Developer, Full-Stack Developer and Data Analyst paths.
Learn SQL: frequently asked questions
Is this SQL course free?
The whole first chapter (SELECT, WHERE, ORDER BY, a quiz and a boss battle) is free and needs no account. The rest of the course is a one-time purchase, and you can claim 30% back if you finish within 30 days.
Which database does the course use?
SQLite, running in your browser. The SQL you learn — SELECT, JOIN, GROUP BY, INSERT and so on — works the same way in PostgreSQL, MySQL and SQL Server, apart from small details.
Do I need to know programming first?
No. SQL is a great first language — queries read almost like English sentences.
Can I break the database?
No. Every run starts from a fresh copy of the database, so you can experiment freely.