Database Design & Management Project using MySQL

MySQL Tutorial

·
Home

·
Start Here

·
Basic

·
Advanced

·
MySQL Stored Procedures

·
MySQL Views

·
MySQL Triggers

·
MySQL Events

·
MySQL Indexes

·
MySQL Administration

·
MySQL Full-Text Search

·
Functions

·
Aggregate Functions

·
Control Flow Functions

·
Comparison Functions

·
Date & Time Functions

·
String Functions

·
Math Functions

·
Window Functions

·
Interfaces

·
MySQL PHP

·
MySQL Node.js

·
MySQL JDBC

·
MySQL Python

·
MySQL Perl

·
Tips

·
TryIt

Home
/
Getting Started with MySQL
/ MySQL Sample Database

MySQL Sample Database

If this site saves you hours of work, please whitelist it in your ad blocker or

donate now

to support us creating more free content in the future.
We use the classicmodels database as a MySQL sample database to help you work with MySQL quickly and effectively. The classicmodels database is a retailer of scale models of classic cars database. It contains typical business data such as customers, products, sales orders, sales order line items, etc.
We use this sample database in our
MySQL tutorials
to demonstrate many MySQL features from
simple queries
to complex
stored procedures
.

Download MySQL Sample Database

You can download the MySQL sample database via the following link:

Download MySQL Sample Database

The download file is in ZIP format so you need a zip program to unzip it. You can download a free zip program at
www.7-zip.org
.
After uncompressing the  sampledatabase.zip file, you can load the sample database into MySQL database server by following 
how to load sample database into MySQL database server tutorial
and test it by using the following SQL statements:

1
2

USE classicmodels;
SELECT * FROM customers;

Basically, those statements switch the current database to classicmodels and query data from the customers table. If you see the customer data returned, you have successfully imported the sample database into the MySQL database server.

MySQL Sample Database Schema

The MySQL sample database schema consists of the following tables:
· Customers: stores customer’s data.
· Products: stores a list of scale model cars.
· ProductLines: stores a list of product line categories.
· Orders: stores sales orders placed by customers.
· OrderDetails: stores sales order line items for each sales order.
· Payments: stores payments made by customers based on their accounts.
· Employees: stores all employee information as well as the organization structure such as who reports to whom.
· Offices: stores sales office data.

You can download the MySQL sample database ER-diagram in PDF format via the following link.

Download MySQL Sample Database Diagram PDF A4

We recommend that you print the ER diagram out and stick it to your desk to get familiar with the schema while learning MySQL.
Have fun learning MySQL!
· Was this tutorial helpful?
·
Yes

No

Previous Tutorial: Connect to MySQL Server

Next Tutorial: How to Load the Sample Database into MySQL Server

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
Open chat
1
You can contact our live agent via WhatsApp! Via + 1 929 473-0077

Feel free to ask questions, clarifications, or discounts available when placing an order.

Order your essay today and save 20% with the discount code GURUH