SQL Essential
Query a real database in your browser — every answer checked against real results.
Learn SQL by querying an actual database, not by reading about one. A real SQLite database runs in your browser (via WebAssembly) and is rebuilt fresh for every query, so you can experiment freely without breaking anything. Your answers are graded by comparing your result set against the correct one — no memorising, just real queries.
Module 1: Foundations of SQL and the Relational Model
Learn how relational databases are organized and how to write your first read-only queries against a real schema.
Module 2: Joining Tables
Combine data from multiple tables using a variety of join strategies while preserving or discarding unmatched rows.
Module 3: Aggregating and Summarizing Data
Roll up rows into summary statistics and group results to answer business-level questions.
Module 4: Subqueries and Common Table Expressions
Break complex problems into reusable, readable query building blocks using subqueries and CTEs.
Module 5: Modifying Data
Master the statements that change database contents while keeping data consistent and safe.
Module 6: Schema Design and Data Definition
Design robust tables, constraints, views, and indexes that keep data clean and queries fast.
Module 7: Advanced Querying and Window Functions
Solve sophisticated analytical problems with conditional logic, functions, and window calculations.
Module 8: Reporting and Business Analysis
Transform raw query results into business-ready reports, metrics, and quality checks.
Module 9: Performance, Optimization, and Best Practices
Write efficient, secure SQL by understanding query plans, indexes, and common anti-patterns.
Module 10: Capstone Project Milestones
Apply the full SQL workflow to plan, build, optimize, and present a complete company analysis project.