Databases
SQL, a database behind an API, and what a database keeps when a lab stops.
No account needed: open a lesson and press Start lab.
Hands-on lessons
Each lesson is worked in a real lab, with a terminal beside it. Nothing to install.
PostgreSQL and PostgREST lab
Container lab · 2 lessons
A database and a REST API in the browser
MySQL and phpMyAdmin lab with a sample shop database to practise SQL
Container lab · 2 lessons
A MySQL server with a sample shop database and phpMyAdmin already signed in, in each student’s own copy, with thirteen SQL exercises. Free in the browser.
Vector database lab
Container lab · 1 lesson
Qdrant and PostgreSQL with pgvector
About Databases
Two database labs give each student a real server of their own, so SQL is practised against data that stays put rather than in a box on a page. The MySQL lab comes with a sample shop database and phpMyAdmin already signed in, so a class can write SELECT, JOIN and GROUP BY queries from the first minute, and it runs with no account at all.
The PostgreSQL lab puts a REST API in front of every table with PostgREST, so students see how a database sits behind a web service, and what is kept when the lab stops and starts again. Each comes with a Basics lesson, free to read here, with the queries to try. For shorter exercises, the playground runs SQL against a fresh SQLite database on every run, and on the platform a teacher can set SQL tasks for a class.
Nothing is installed on a school’s computers, and a broken table is fixed by starting again. A free account runs both labs, and a school or college sets them for a class.
Keep your lessons and progress
A free account keeps your lessons and progress, with enough free credit each month to follow most lessons. Teaching a class? Create an account for your college and set these labs for your students.
Create a free accountCreate an account for your college
Already have an account? Sign in