Postgres 16 sandbox · no signup to try

Learn SQL by
running SQL.

Watching a course teaches you to recognise SQL. Writing it against a database that pushes back teaches you to write it. There is a real Postgres instance in this page — solve something in it before you decide anything.

  • No install
  • No card to start
  • Real Postgres
postgres 16 · sandboxlive
Module 02 · Aggregationcustomers(id, name, country)orders(id, customer_id, total)

Return the 5 customers who placed the most orders, biggest first.

▸ Ready. Hit Run to execute against the sandbox.

Engineers and analysts from these teams practise here

ShopifyDatadogMonzoNotionWiseVercel
375
graded challenges
across 16 chapters
12,400
queries run daily
in the sandbox
4.8/5
average rating
from 1,900 learners

// the_honest_part

You have already
learned SQL
three times.

  1. 01

    The course you watched at 1.5x

    Fourteen hours of video, a lot of nodding, and not one query that ever touched a database. Recognition is not recall.

  2. 02

    The puzzle site you grinded

    You can solve a clever question on a two-column table. Then someone hands you a schema with forty tables and a deadline, and the cleverness has nowhere to go.

  3. 03

    The assistant that writes it for you

    The query runs and returns a number. You are about to put that number in front of your team, and you have no way to tell whether it is the right one.

All three fail the same way: you were never made responsible for a query. Here, every challenge runs against a live database, and a wrong answer comes back with the reason.

// the_loop

Read, write, find out you were wrong, understand why.

That fourth step is the one every other format skips. It is also the only one that changes how you write the next query.

  1. 01

    Pick up where you stopped

    Six modules and sixteen chapters, ordered so each one earns the next. The path remembers where you left off, so you never restart at SELECT again.

    SELECT → JOIN → aggregation → subqueries → windows → tuning

  2. 02

    Write it against real data

    A Postgres instance boots in your browser in under a second. Same engine, same syntax errors, same EXPLAIN output you will get in production.

    postgres 16 · northwind, hr, sales datasets · reset any time

  3. 03

    Find out why, not just whether

    Grading compares your result set, then walks the query plan with you. A wrong answer returns the specific thing you missed — never a bare red X.

    result diff · plan walkthrough · targeted hint

// what_you_get

Six things a video course structurally cannot do

All of them come down to the same thing: there is a database on the other side of the screen, and it has opinions about your query.

A real database, one second away

Postgres 16 boots in your browser through WebAssembly. No Docker, no connection string, no “works on my machine.” Break it on purpose, then hit restore.

$ boot postgres@16 --dataset northwind
ready in 0.8s · 8 tables · 2,155 rows
northwind=#

375 graded challenges

Tagged by company and by concept, so you can drill the exact thing you keep getting wrong.

Top N per groupMeta
Gaps and islandsStripe
Deduplicate rowsAmazon

Streaks that are hard to break

One short exercise a day. The counter is embarrassingly effective.

96 day streak · longest yet

Read a query plan like a senior

EXPLAIN ANALYZE, annotated line by line, so you learn what “slow” costs before a production incident teaches you.

▸Limit0.02 ms
→Sort (orders DESC)0.31 ms
→HashAggregate1.10 ms
→Seq Scan on orders2.74 ms
→Index Scan on customers0.08 ms
that sequential scan is 89% of your runtime

A tutor that refuses to just tell you

Ask for help and you get a question back. Ask for a review and it goes after correctness, style and cost — in that order.

why is my GROUP BY throwing an error?
Look at your SELECT list. Which column is in it that Postgres has no way to pick a single value for?

Three dialects

Postgres, MySQL and SQLite, with the syntax gaps taught rather than hidden.

PostgreSQLMySQLSQLite

// the_fair_comparison

Why not just watch a course, grind puzzles, or ask an AI?

Reasonable question, and the honest answer is that for a single query on a schema you already understand, any of them is fine. The gap opens when you have to be the one who is right.

Runs against a real database

Puzzle sites do this too. It is table stakes, not a differentiator.

Video courses
no
Puzzle sites
yes
AI assistants
no
SQL Uptime
yes

Tells you why the query is wrong

A red X is not feedback.

Video courses
no
Puzzle sites
~ sort of
AI assistants
yes
SQL Uptime
yes

Orders the material so each idea earns the next

This is the one thing a good course is genuinely great at.

Video courses
yes
Puzzle sites
no
AI assistants
no
SQL Uptime
yes

Teaches performance, indexes and EXPLAIN

Video courses
~ sort of
Puzzle sites
no
AI assistants
~ sort of
SQL Uptime
yes

Interview sets tagged by company

Video courses
no
Puzzle sites
yes
AI assistants
no
SQL Uptime
yes

Leaves you with something an employer can verify

A completion certificate nobody checks is not proof.

Video courses
~ sort of
Puzzle sites
no
AI assistants
no
SQL Uptime
yes

Useful when you do not know what to ask yet

An assistant answers the question you have. It cannot tell you which one you should be asking.

Video courses
~ sort of
Puzzle sites
no
AI assistants
no
SQL Uptime
yes

// in_their_words

The reviews that mention the hints are the ones we care about

I had written SQL for four years and never once read a query plan. The EXPLAIN module was uncomfortable in the way that actually means you are learning something. I found an index we had been missing for two years in the first week.
PRPriya RamanSenior Backend Engineer
The hints are the whole product. It never hands you the answer, it just tells you which clause you are missing, and then you feel stupid for about four seconds and never forget it again.
TOTom OkaforData Analyst
Did the interview set for two weeks before my Stripe loop. Three of the questions were close enough that I recognised the shape immediately.
LVLena VasquezAnalytics Engineer
We onboard analysts with the assigned path now. Ramp time went from about six weeks to two, and I stopped being the SQL help desk.
MFMarcus FeldHead of Data Platform
The streak counter is genuinely manipulative and I am on day 96, so it works.
SLSofia LindqvistProduct Engineer

Four reasons people are here. The path adapts to yours.

// pick_one_at_signup

Software engineers

Stop writing the N+1 and calling it a day. Joins, aggregation and the tuning that keeps them off the incident channel.

→ Ship queries you can defend in review

Data analysts

Move off spreadsheets in weeks, on real datasets, with feedback on every query and nothing to install.

→ Answer your own questions

Interview candidates

Company-tagged questions in a live sandbox. Turn on timed mode when you want the pressure to feel real.

→ Walk in having already done it

Platform & data teams

Assign a path, watch the dashboard, and stop answering the same SQL question in Slack every Tuesday.

→ Level the whole team at once

// proof_of_work

A certificate is only worth what it certifies

Most course certificates prove you pressed play. This one is issued after all sixteen chapters are graded against a live database, and the verification page lists the specific concepts you were tested on — so a hiring manager can check the claim rather than take it.

  • Issued only after all 16 chapters are graded
  • Public verification page anyone can check
  • Lists the concepts you were actually tested on

Certificate of completion

SQL Uptime

awarded toyour name here
chapters graded16 / 16
verify atsql-uptime.dev/c/8f2e11

Tested on

joinsaggregationsubqueriesCTEswindow functionsindexingquery plans
signature verified · issued 12 Mar 2026

// pricing

Free to learn. Pro to finish.

The free tier is not a demo — it is three weeks of real practice. Upgrade when you want the interview sets and the worked solutions, not because a modal blocked you mid-lesson.

MonthlyYearly−30%

Free

Enough to find out if this works for you.

$0forever

 

Start free
  • 10 challenges per day
  • Full PostgreSQL sandbox
  • Modules 1 and 2
  • Streaks, achievements, leaderboard

No solutions, interview sets or certificate

most popular

Pro

For the people who need this to stick.

$9.99/mo

 

Go Pro
  • Unlimited challenges
  • All 6 modules and 16 chapters
  • Step-by-step worked solutions
  • Company-tagged interview sets
  • Query plan walkthroughs
  • Verified certificate

Teams

For onboarding analysts without a help desk.

$7/seat/mo

 

Talk to sales
  • Everything in Pro, per seat
  • SSO via SAML or Google
  • Assigned learning paths
  • Team progress dashboard
  • Invoice billing

Cancel in one click. Fourteen-day refund, no email thread required. Your streak and progress stay yours on the free tier. Read the FAQ

// before_you_ask

The questions people actually send us

Do I have to install anything?

No. The database runs inside your browser tab through WebAssembly — it is a genuine Postgres build, not a simulator. Nothing is installed, nothing connects to a server you have to configure, and closing the tab throws it away.

Is the free tier actually usable, or is it a demo?

Ten graded challenges a day, the full sandbox, and the first two modules, with no card required. That is roughly three weeks of steady practice before you hit anything. Pro exists for people who want the interview sets, the worked solutions and the certificate.

I already write SQL at work. Is this too basic?

There is a placement check that skips you ahead. Most working engineers land somewhere in module four and find the window function and query plan chapters are the ones that actually bite. You can also jump straight into the interview sets.

Which dialect does it teach?

PostgreSQL by default, with MySQL and SQLite available on Pro. Where the dialects genuinely differ — string aggregation, date maths, upserts — the lesson shows you both instead of pretending there is one SQL.

Is the certificate worth anything?

It is worth exactly as much as what it certifies, which is why it is only issued after all sixteen chapters are graded, and why the public verification page lists the specific concepts you were tested on. Treat it as evidence, not as a qualification.

Can I expense it or put a team on it?

Yes. Teams starts at five seats with invoice billing, SSO, assigned paths and a progress dashboard. Most managers buy it as onboarding for new analysts rather than as a perk.

What happens if I cancel?

You drop to the free tier and keep your streak, your history and any certificate already issued. Refunds inside fourteen days are one click in billing settings.

Still unsure? hello@sql-uptime.dev — a person answers.

$ sql-uptime start --free

The next query you write could be against a real database.

Ten graded challenges a day, the full Postgres sandbox, and no card. If it is not working for you by challenge ten, nothing has been spent.

No credit card · cancel in one click · 14-day refund on Pro

10 challenges a day,
free forever

Start free