SQL Quiz Book

A new kind of SQL quiz book that helps you visually understand how SQL works by connecting each query to the resulting changes in the table. Learn at your own level, from fundamentals to advanced concepts, with a focus on topics frequently encountered in real-world work.

How to use this quiz book →

Recommended learning paths

01Not started

SQL Foundations

Learn querying through joins in order.

Start →
02Not started

Analytics SQL

Learn window functions and KPI analysis.

Start →
03Not started

SQL Performance

Learn execution plans and index basics.

Start →
106 quiz sets · 530 questions · 21 topics

Anomaly Detection4 sets · 5 questions each

Batch Processing10 sets · 5 questions each

Behavioral Analytics4 sets · 5 questions each

Benchmarking4 sets · 5 questions each

Cardinality4 sets · 5 questions each

CTE and WITH4 sets · 5 questions each

Date and Time4 sets · 5 questions each

Deduplication4 sets · 5 questions each

Event Modeling4 sets · 5 questions each

GROUP BY4 sets · 5 questions each

JOIN8 sets · 5 questions each

JSON4 sets · 5 questions each

KPI Analysis4 sets · 5 questions each

NULL4 sets · 5 questions each

Performance Tuning12 sets · 5 questions each

Predicates4 sets · 5 questions each

Recursive CTE4 sets · 5 questions each

Statistical Analysis4 sets · 5 questions each

Subqueries4 sets · 5 questions each

Data Transformation4 sets · 5 questions each

Window Functions8 sets · 5 questions each