SQL Playgroundlearn SQL safely, in your browser

About SQL Playground

A place to learn SQL by trying it.

SQL is hard to learn from a book because the feedback loop is slow: you read a rule, you trust it, and you find out later. A playground removes that delay. You type a query, you see the answer immediately, and the idea sticks or falls apart in front of you.

Why it runs in your browser

A browser SQL playground needs no account, no install and no server to hold your data. The engine runs locally, so there is nothing to upload and nothing that could be intercepted on the way. The trade-off is honest: this is a small in-memory engine, not a full PostgreSQL. It supports the core of the language — creating a table, inserting rows, and selecting with filtering, ordering and limits — which is what you need to learn how a query behaves.

What it is for

Where it is deliberately limited

It does not store data between visits, it does not support joins, aggregations or subqueries, and it does not pretend to. Those are large pieces of a real engine, and a tool that claimed them but got them wrong would be worse than one that says what it does. For those, read the PostgreSQL and MariaDB guides and use a real server.

Supported by readers

There is no paywall and no account. The site is supported by advertising and optional donations. The tools do not depend on the ad network being reachable, so blocking ads changes nothing about how the playground works.

← Back to the playground