← all languages

SQL

242 problems19 sections📅 2026 curriculum

Learn SQL by typing real, working queries.

Practice SQL by typing queries that run: SELECTs with filtering and sorting, every kind of JOIN, GROUP BY aggregation, subqueries, CTEs, and window functions. Each snippet is real, standard SQL, and an AI tutor explains every clause — how a LEFT JOIN keeps unmatched rows, why a window function beats a self-join — so query-writing becomes second nature as you type.

Progress0 / 242 solved · 0/19 sections
best wpm
0
avg wpm
0
accuracy
0%
runs
0
level
1
rating
1000
Run SQL on your machine
1. Install the toolchain
brew install sqlite # usually preinstalled
2. Save your code as query.sql, then compile & run
sqlite3 demo.db < query.sql
Official install docs ↗
The first 3 sections are open — sign in for more, or upgrade for everything (English is fully free).Sign in
progress by section
1Queries0/14start →
2Filtering0/14start →
3Sorting & Limiting0/10start →
4Joins0/14Unlock →
5Aggregation0/14Unlock →
6Subqueries0/14Unlock →
7CTEs0/12Unlock →
8Window Functions0/14Unlock →
9Set Operations0/10Unlock →
10Schema (DDL)0/14Unlock →
11Modifying Data0/14Unlock →
12Constraints0/12Unlock →
13Indexes0/10Unlock →
14Views0/10Unlock →
15Transactions0/10Unlock →
16String Functions0/14Unlock →
17Date & Time0/14Unlock →
18JSON0/12Unlock →
19Query Challenges0/16Unlock →