Course · Beginner

SQL Mastery 2026

Learn to get answers from data. Read, filter, sort, summarise and join tables, then change data and design tables of your own.

Level
Beginner
Units
10 units, 58 lessons
Time
About 10 hours
Access
Unit 1 free, the rest with Pro
Practice
170 problems the judge checks
Certificate
Yes, anyone can verify it

What you will be able to do

  • Read data from any table: choose columns, filter rows, sort and limit the result
  • Summarise data with COUNT, SUM, AVG, GROUP BY and HAVING
  • Join two or more tables and pick the right kind of join
  • Break a hard question into steps with subqueries and CTEs
  • Add, change and delete data safely, and design tables with keys and constraints
  • Solve interview-style SQL problems and check them on our judge

Before you start: None. If you can use a spreadsheet, you can start.

Syllabus

10 units, in order

  1. Unit 1Free

    Getting started

    What a database is, and your first queries with SELECT.

    4 lessons · 30 min
  2. Unit 2

    Filtering rows

    Keep only the rows you need with WHERE, AND, OR, IN, BETWEEN, LIKE and NULL checks.

    5 lessons · 48 min
  3. Unit 3

    Sorting and limiting

    Put results in order and take just the first few rows.

    4 lessons · 37 min
  4. Unit 4

    Working with values

    Calculate, clean up text, round numbers and build new columns with CASE and COALESCE.

    6 lessons · 54 min
  5. Unit 5

    Summaries

    Count, add up and average your data, for the whole table and for each group.

    5 lessons · 48 min
  6. Unit 6

    Joining tables

    Combine rows from several tables with inner, left, self and cross joins.

    8 lessons · 82 min
  7. Unit 7

    Subqueries and CTEs

    Use the answer of one query inside another, and write long queries as clear steps.

    8 lessons · 90 min
  8. Unit 8

    Changing data

    Add, change and remove rows, and keep related changes together.

    4 lessons · 49 min
  9. Unit 9

    Designing tables

    Create tables with the right types, keys and rules, and split data the way good designs do.

    5 lessons · 58 min
  10. Unit 10

    Going further

    Views, indexes, window functions and the query patterns interviewers ask about.

    9 lessons · 114 min

How a course works

Short lessons. Real checks.

  1. Read a little

    A short explanation with an example, written for students, not for experts.

  2. Change it and run it

    Edit the example code in the lesson and run it to see what changes.

  3. Check, then solve

    A quick check, then practice problems the judge checks on hidden tests.

  4. Checkpoints and a final test

    Pass them to finish the course and get your certificate.

SQL Mastery 2026, on a real judge.