In this course7 lessons
SQL for PM interviews
8 min readFull kit
Here is a query. Read it before you read anything else.
SELECT city, COUNT(*) AS signups
FROM users
WHERE signup_date >= DATE '2026-11-01'
GROUP BY city;
You can probably guess it: sign-ups in each city since November 1. SQL was made to read a lot like English. This lesson takes you from that query to the hardest kind a PM screen usually asks for: "top three in each group".
The rest of this lesson is in the full kit.
Still to come in this lesson
- What you need, and what you can skip
- Dishwagon's tables
- The order SQL thinks in
- Counting, and counting each person once
- Filtering by date
- Grouping
- Joins, and a trap past the usual one
- CTEs: small helper tables
- Top three in each group
- Talk while you type
- Recap
The full kit opens the 72 full worked answers, 20 mock interviews with Ava and all 116 lessons.
$129 once for life, or 1 year for $69. 15-day refund.
See plans · from $69Already own it? Sign in
Checking your access…