Playground

SQL Learning Playground

Write and run educational SQL queries against sample data in your browser.

Browser SQL Learning Simulator — this is not a live connection to a real MySQL server.
Pick a sample database on the left, write a query, and press Run (or Ctrl/Cmd + Enter). Supports SELECT, WHERE, ORDER BY, LIMIT, DISTINCT, GROUP BY/HAVING, aggregate functions, basic JOIN/LEFT JOIN, and basic INSERT/UPDATE/DELETE. Changes reset with the Reset Data button.