Difficulty: Beginner
Estimated Time: 10 minutes

Learning SQL

Practice SQL queries on a MySQL server using the Sakila sample database.

A MySQL sandbox for working with the examples in Alan Beaulieu's Learning SQL, 3rd Edition (O'Reilly Media, 2020).

MySQL Sandbox

Setting up the Environment

Welcome! It will take a few minutes to install and configure the mysql server and Sakila database.

Once everything finishes, you'll have a mysql prompt and can query the database.