Most DBMSes come with sample databases. You can write lots of interesting queries against them, and usually a tutorial accompanies the database in the documentation. For MySQL, there's the Employees sample database: https://dev.mysql.com/doc/employee/en/ and also the Sakila sample database: https://dev.mysql.com/doc/sakila/en/ Also: Kaggle is full of sample data: https://www.kaggle.com/ Wikipedia publishes all of the content of Wikipeida as SQL scripts for MySQL, plus as XML files. You can get that data (or subsets of it) and play around. Load a small one or a huge one, get to work writing queries on it. Here's a github repository with lots of interesting data sets: https://github.com/awesomedata/awesome-public-datasets FiveThirtyEight has lots of neat sets: https://data.fivethirtyeight.com/ There's a website called "Relational Data Set Repository" which has bunches of sets: https://relational.fit.cvut.cz/ data.world has more than 30 data sets: https://data.world/datasets/database Someone manages this git repository that lists some interesting sets: https://github.com/joschout/RelationalDatasets Answer from mikeblas on reddit.com
🌐
MySQL Tutorial
mysqltutorial.org › home › getting started with mysql › mysql sample database
MySQL Sample Database
December 29, 2023 - We use the classicmodels database as a MySQL sample database to help you work with MySQL quickly and effectively.
🌐
GitHub
github.com › hhorak › mysql-sample-db › blob › master › mysqlsampledatabase.sql
mysql-sample-db/mysqlsampledatabase.sql at master · hhorak/mysql-sample-db
Sample MySQL and MariaDB database data that can be used for upgrade testing - mysql-sample-db/mysqlsampledatabase.sql at master · hhorak/mysql-sample-db
Author   hhorak
🌐
Devart
devart.com › dbforge › mysql › studio › mysql-sample-database.html
MySQL Sample Database - dbForge Studio Tutorial
Which one to choose depends on your preferences. Sakila is the most popular database for MySQL demonstrations. It has 16 tables, 7 views, 3 stored procedures, 3 stored functions, and 6 triggers.
🌐
NTU Singapore
www3.ntu.edu.sg › home › ehchua › programming › sql › SampleDatabases.html
MySQL Sample Databases
Run the downloaded ".msi" file, it will extract the files into "C:\SQL Server 2000 Sample Databases". The SQL statements are kept in "instnwnd.sql". For MS Access ⇒ Launch Access ⇒ Choose "Sample" ⇒ Northwind Sample Database ⇒ Download. There are various MySQL ports available.
🌐
MySQL
dev.mysql.com › doc › employee › en
MySQL :: Employees Sample Database
For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users.
🌐
Reddit
reddit.com › r/mysql › can somebody recommend a good site to practice mysql?
r/mysql on Reddit: can somebody recommend a good site to practice mysql?
February 10, 2022 -

Hi! I'm learning mysql and I wanted to know if you know any page or couse where I could get a lot of good exercises with multiple tables. I have seen a few on google but they are not so convincing to me. Thanks!

🌐
SQL Tutorial
sqltutorial.org › home › sql sample database
SQL Sample Database
April 6, 2020 - If you have worked with an RDBMS such as MySQL, PostgreSQL, Oracle Database, and SQL Server, you can use the following script to create the sample database in one of these databases. In case you don’t have a database system to practice, you can quickly use our SQL online tool to execute the ...
Find elsewhere
🌐
Quackit
quackit.com › mysql › tutorial › mysql_sample_database.cfm
MySQL Sample Database
The Sakila sample database was created for the purposes of tutorials, books, examples, etc. It's also designed to take advantage of the various aspects of MySQL, including any new features. First of all, download the Sakila database from the MySQL website. This will give you two scripts to ...
🌐
MySQL
dev.mysql.com › doc › sakila › en
MySQL :: Sakila Sample Database
This document describes Sakila sample database installation, structure, usage, and history. For legal information, see the Legal Notices.
🌐
w3resource
w3resource.com › sql › sql-table.php
w3resource SQL sample Database - w3resource
A sample database which is used for most of the SQL examples of SQL tutorials, w3resource.com.
🌐
GitHub
github.com › datacharmer › test_db
GitHub - datacharmer/test_db: A sample MySQL database with an integrated test suite, used to test your applications and database servers · GitHub
A sample MySQL database with an integrated test suite, used to test your applications and database servers - datacharmer/test_db
Starred by 4.4K users
Forked by 2.7K users
Languages   PLpgSQL 79.2% | Shell 20.8%
🌐
Red9
red9.com › blog › sample-sql-databases
9 Sample SQL Databases for Practice - Free Downloads - Red9
1 month ago - Download free SQL databases for practice — AdventureWorks, Northwind, Chinook & more. Setup instructions for SQL Server, MySQL, and PostgreSQL.
🌐
W3Resource
w3resource.com › mysql-exercises
MySQL Exercises, Practice, Solution - w3resource
March 5, 2025 - MySQL is the world's most popular open-source relational database management system (RDBMS), known for its reliability, high performance, and scalability. It is a key component of the LAMP web stack. ... The best way to learn MySQL is through practice. This section is designed for beginners to advanced users to enhance their SQL skills with exercises. Happy Coding! ... More to Come ! ... Click here to get Northwind sample databases for Microsoft SQL Server.
🌐
GitHub
github.com › uwla › sample_mysql_database
GitHub - uwla/sample_mysql_database: W3Schools MySQL Tutorials Database CSV & SQL files · GitHub
This repository contains the database used in W3Schools SQL tutorials. I cloned the repo https://github.com/AndrejPHP/w3schools-database and made some changes: changed table names to match the ones on W3School's website · added a text file containing some query challenges and its solutions ... About the last one, you can play with the csv files instead of creating a MySQL database.
Starred by 18 users
Forked by 4 users
🌐
Dataedo
dataedo.com › kb › databases › mysql › sample-databases
Sample MySQL databases - MySQL - Design & Metadata
October 2, 2018 - Article for: MySQL ▾ SQL Server Oracle database Snowflake Amazon Redshift SAP/Sybase ASE IBM DB2 PostgreSQL MariaDB · Sakila is MySQL sample database - a movie rental database with 16 tables, views, stored procedures, functions and triggers.
🌐
Database Star
databasestar.com › sample-data-sql
Sample Data for SQL Databases | Database Star: Home
SQL script files to create the tables and load the data, with different sets of scripts for Oracle, SQL Server, MySQL, and Postgres · An explanation of each data set with links to a more detailed explanation and an ERD · Steps on how to download the files, how to load the data, and what to do if you have any issues · A database of movies, cast and crew, production information, genres, and more.