Maia

Ready to start

SQL

SQL

Select, join, aggregate, keys, plans. Later headings open after the one before. Write correct SQL for filters, joins, aggregates, and subqueries, and read a simple query plan.

  • 6 headings
  • Ladder
  • Test out a heading you have
Start SQL free

Free to start. Sign in with Google or email.

A class on this path

Select and filter · First class

Live tutor
Materials for this classReadingPodcastLecture

Pick where you want to start

Each heading is its own course. Later ones open when you finish — or skip — the one before. A later course does not reteach earlier bands.

  1. Select and filter

    Start here

    Write SELECT / WHERE / ORDER BY / LIMIT that matches a stated filter, including NULL-safe comparisons.

  2. Joins

    After Select and filter — test out to unlock

    Choose inner vs left join, and write a two- or three-table join without duplicating rows by accident.

  3. Aggregation

    After Joins — test out to unlock

    Use GROUP BY and HAVING with COUNT/SUM, and know when a column must be aggregated.

  4. Subqueries

    After Aggregation — test out to unlock

    Write a subquery or CTE that cannot be a simple join, and correlate it only when needed.

  5. Schema and keys

    After Subqueries — test out to unlock

    Design a small 3NF schema with primary and foreign keys, and insert without violating them.

  6. Indexes and plans

    After Schema and keys — test out to unlock

    Say which column to index for a query, and read a simple EXPLAIN enough to see a seq scan vs index.

What this is for

  1. 01

    Write SELECT / WHERE / ORDER BY / LIMIT that matches a stated filter, including NULL-safe comparisons.

  2. 02

    Choose inner vs left join, and write a two- or three-table join without duplicating rows by accident.

  3. 03

    Use GROUP BY and HAVING with COUNT/SUM, and know when a column must be aggregated.

Why a path, not a playlist

Select, join, aggregate, keys, plans. Later headings open after the one before.

Each heading is its own course with a tutor. Later headings open when you finish — or test out of — the one before.

After you sign in

  • You land on this map — every heading is already there.
  • Take the open class, or test out of a later heading to unlock it.
  • Each heading is one shared course — same syllabus and first class for everyone. Later classes continue on your copy.

SQL

Start SQL free

Free to start. Sign in with Google or email.