Learn SQL with Phoebe

Two tracks from data-curious to query-fluent

A leader track that teaches you to read, question, and commission SQL without writing a line - and a builder track that takes you from your first SELECT to window functions, a real revenue-drop investigation, and production warehouses. Both run against one small database, Daybreak, in a live editor right in your browser. No install, no login, no server.

2tracks
16sessions
1live database
45min per session

πŸ“ The whole course on one poster seven modules, the Daybreak schema, the clause ladder

The leader track 🀝 · for C-level, managers & curious minds · 6 x 45 min · no code to write

Thinking mode: what SQL is, how to read a query, how to judge a data claim, and how to brief an analyst - each session ends with questions to ask your data team.

The builder track πŸ› οΈ Β· for practitioners Β· 10 x 45 min Β· runs live in your browser

One database, Daybreak, queried harder every session. Every idea lands on data you already know - from your first SELECT to window functions, a real investigation, and warehouse-grade tuning.

πŸšͺ Builder 1 Β· easy

Meet your database

Run a real query in two minutes: SELECT, FROM, LIMIT, ORDER BY, and a tour of the whole Daybreak schema.

β–Ά Builders start here
πŸ” Builder 2 Β· easy

Filtering rows with WHERE

Comparison and logical operators, LIKE, IN, BETWEEN, IS NULL - asking for exactly the rows you want.

Build a segment
πŸ“ Builder 3 Β· medium

Aggregating: COUNT, SUM, GROUP BY

Collapse many rows into answers - COUNT, SUM, AVG, GROUP BY, HAVING, DISTINCT, and "per what" thinking.

Revenue per product
πŸ”— Builder 4 Β· medium

Joining tables

The relational payoff: INNER and LEFT joins, chaining three tables, self-joins - stitching Daybreak together.

Revenue per customer
🧩 Builder 5 · medium

Combining and reshaping

CASE buckets, aliases and expressions, string and date functions, UNION - reshaping results into what you need.

Monthly rollups
πŸͺ† Builder 6 Β· hands-on

Subqueries and CTEs

Queries inside queries, and WITH clauses that make multi-step logic read top-to-bottom instead of inside-out.

Readable pipelines
πŸͺŸ Builder 7 Β· hands-on

Window functions

Rank, ROW_NUMBER, LAG/LEAD, running totals and PARTITION BY - the analyst superpower, on Daybreak's revenue.

Running totals
πŸ—οΈ Builder 8 Β· hands-on

Building and changing data

CREATE, INSERT, UPDATE, DELETE, ALTER, keys and constraints, and the order queries actually execute in.

Write, not just read
πŸ•΅οΈ Builder 9 Β· hardest

Analyst case study: the March drop

A full investigation: confirm the revenue dip, drill into March, find the cause in refunds, events and cancels.

End-to-end analysis
πŸš€ Builder 10 Β· hardest

Performance and real warehouses

Reading a query plan, indexes and their tradeoffs, and the dialect deltas from SQLite to Postgres, BigQuery, Snowflake.

SQLite to production
easy - everyone medium hands-on / deciding hardest

Choose your path πŸ—ΊοΈ

Two doors, one database. Leaders never write a query; builders never sit through theory they have not just run themselves.

🀝 Leader (read & judge) a1β†’ a2β†’ a3β†’ a4β†’ a5β†’ a6
πŸ› οΈ Builder (query Daybreak) b1β†’ b2β†’ b3β†’ b4β†’ b5β†’ b6β†’ b7β†’ b8β†’ b9β†’ b10
🌱 Curious follower (a taste) a1β†’ a2β†’ b1
πŸš€ Full journey (lead AND build) a1-a6β†’ b1-b10

The knowledge map 🧠

Both tracks at a glance - hover a session to spotlight its concepts, click any node to jump in.