Skip to content

SQL ports of the MySQL Sakila sample database

License

Notifications You must be signed in to change notification settings

openpotato/sakila-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

GitHub

Sakila Database

The Sakila sample database was initially developed by Mike Hillyer, a former member of the MySQL AB documentation team. It is intended to provide a standard schema that can be used for examples in books, tutorials, articles, samples, and so forth. The Sakila sample database also serves to highlight features of MySQL such as Views, Stored Procedures, and Triggers.

This repository stores the original MySQL database and ports to the following SQL databases:

Installation

For each database variant you will find a subfolder with the following 2 SQL files:

  • The sakila-schema.sql file contains all the CREATE statements required to create the structure of the Sakila database including tables, views, stored procedures, and triggers.

  • The sakila-data.sql file contains the INSERT statements required to populate the structure created by the sakila-schema.sql file, along with definitions for triggers that must be created after the initial data load.

Database structure

An overview of the structure of the Sakila sample database can be found in the MySQL documentation.

Can I help?

Yes, that would be much appreciated. The best way to help is to post a response via the Issue Tracker and/or submit a Pull Request.