pwn3d.es

Visual guide

SQL Learning

How to study with SQL Learning: the 60-topic cheatsheet, the playground running real SQLite in the browser and challenges that compare results, not text.

60
cheatsheet topics
10
validated challenges
5
related tables
WASM
SQLite in the browser
SELECT *>_ pwn3d.esLEARNSQL Learning
  1. 01 Cheatsheet
  2. 02 Playground
  3. 03 Challenges

3 screens · 11 parts explained

The cheatsheet: from SELECT to window functions

Sixty topics in four families, each with an example ready to send to the playground in one click.

SQL//LEARNINGCheatsheetPlaygroundChallengesSchemaCtrl+K

Families

  • Basic queries6
  • Filtering16
  • Functions25
  • Tables13

AggregationWindowTextNumericDates

ROW_NUMBER() OVER (…)

Numbers rows within each partition by an order. Useful to keep “the first of each group”.

Example · Send to playground ▸sql

1SELECT first_name, specialty, salary,
2  ROW_NUMBER() OVER (
3    PARTITION BY specialty
4    ORDER BY salary DESC) AS pos
5FROM doctors;
CSS mock-up: a recreation of the interface to explain it, not the running tool. Hover a note to see its area.
  1. Four families

    Basic queries, filtering, functions (aggregate, window, text, numeric and date) and tables, as in the original cheatsheet.

  2. Global search

    Ctrl+K searches the 60 topics; chips narrow by function type.

  3. Short explanation

    What the clause does and what it is used for in practice, in two lines.

  4. Runnable example

    It uses the practice database, so it can be sent to the playground to see the real result.

How it is used

  1. Check the cheatsheet

    Find the topic and read the example.

  2. Try it

    Send it to the playground and tweak it.

  3. Explore the schema

    See how the tables relate to write your JOINs.

  4. Solve challenges

    Test what you learned with automatic validation.

Key concepts

JOIN
Combines rows of two tables through a shared column.
GROUP BY
Groups rows to compute totals, averages or counts per group.
Window function
Computes over related rows without collapsing them (rankings, running totals).
WebAssembly
A format that lets SQLite, written in C, run inside the browser.

Want to use it for real?

This guide explains each part of the interface. The full, always up-to-date tool lives on its official site and repository.