🌐
Microsoft Learn
learn.microsoft.com › en-us › sql › samples › sql-samples-where-are
Microsoft SQL samples - SQL Server | Microsoft Learn
WideWorldImporters readme and samples on GitHub. Tutorial: Load WideWorldImportersDW to Azure Synapse Analytics · AdventureWorks databases can be found on the installation page or directly within the SQL Server samples GitHub repository.
🌐
SQL Tutorial
sqltutorial.org › home › sql sample database
SQL Sample Database
April 6, 2020 - Summary: in this tutorial, you will learn about a SQL Sample Database called HR that manages the HR data of the small businesses. The following database diagram illustrates the HR sample database: ... The employees table stores the data of employees.
Discussions

Is there a place I can download sample databases to practice queries?
The stackoverflow database is good https://www.brentozar.com/archive/2015/10/how-to-download-the-stack-overflow-database-via-bittorrent/ More on reddit.com
🌐 r/SQL
27
40
January 10, 2022
Sample databases collection
Nice. See also https://www.kaggle.com/datasets And https://github.com/nytimes/covid-19-data More on reddit.com
🌐 r/SQL
8
44
October 13, 2024
I need example database relationship tables to practice on.
Northwind is Microsoft's big sample database, both tables and sample data to work with. Some linkdump for you to pursue further: https://www.barik.net/archive/2006/03/28/195425/ https://dba.stackexchange.com/questions/12991/ready-to-use-database-models-example/23831#23831 http://www.databaseanswers.org/data_models/index.htm - massive set of example relationships. One issue is that many of these are pretty simplified, for the industries I know the tables and relationships get much deeper than what is illustrated. However, take what you know and build on these simple examples using basic normalization and relationship principles and More on reddit.com
🌐 r/Database
5
6
July 26, 2021
Is there a site where I can quickly create my own sample data tables and run SQL queries for practice?
Best bet is to get the (free) developer edition on your PC. Every online solution is going to be very limited or very $$$. For example: https://dbfiddle.uk/ox5x0JRM (fwiw, I like dbfiddle) More on reddit.com
🌐 r/SQLServer
12
4
October 5, 2023
🌐
Reddit
reddit.com › r/sql › sample databases collection
r/SQL on Reddit: Sample databases collection
October 13, 2024 -

I often find myself searching for sample databases from various providers to use for demonstrations, product testing, and training sessions. To make things easier, I decided to compile a categorized list of these databases by supplier. You can explore the list via the URL below.

https://www.deliaweb.net/post/collection-of-sample-databases

Feel free to share any additional databases you know of in the comments, and I’ll be happy to add them to the collection.

🌐
Oracle
blogs.oracle.com › coretec › sample-data-for-oracle-database
Sample data for Oracle Database | coretec
March 21, 2024 - Then you can install Oracle database sample schemas from github. The latest version Oracle Database Sample Schemas 23c is super easy to install and of course it is for free. You only need to download the zip file and follow the instructions.
🌐
IBM
ibm.com › docs › en › db2 › 11.5.x
The SAMPLE database
The sample database can be used for various purposes like testing your applications, trying different features of Db2 database products and so on. Most of the sample application programs under DB2PATH/sqllib/samples use sample database for demonstrating various features of Db2 databases that ...
🌐
Microsoft Learn
learn.microsoft.com › en-us › sql › samples › adventureworks-install-configure
AdventureWorks Sample Databases - SQL Server | Microsoft Learn
6 days ago - Use these links to download the appropriate sample database for your scenario. OLTP data works for most typical online transaction processing workloads. Data Warehouse (DW) data works for data warehousing workloads. Lightweight (LT) data is a lightweight and pared down version of the OLTP sample. If you're not sure what you need, start with the OLTP version that matches your SQL Server version.
🌐
DotFactory
dofactory.com › sql › sample-database
Free SQL Server Sample Database
Download our script and create your own database + data. Supports SQL Server 2014, 2016, 2017, and 2019. Alternatively, use the live database in our SQL Editor. ... ERD stands for Entity Relationship Diagram. It provides a visual overview of the database with tables and their relationships. Below is the ERD for our sample ...
Find elsewhere
🌐
NTU Singapore
www3.ntu.edu.sg › home › ehchua › programming › sql › SampleDatabases.html
MySQL Sample Databases
Reference: The "Classic Models" Retailer database of http://www.mysqltutorial.org. There are 8 tables, with no stored objects (view, procedure, function, trigger and event) defined. I made some modifications to the data type, and added in the foreign keys and indexes.
🌐
Kaggle
kaggle.com › datasets › dillonmyrick › bike-store-sample-database
Bike Store Relational Database | SQL | Kaggle
August 21, 2023 - Sample database from sqlservertutorial.net for a retail bike store.
🌐
w3resource
w3resource.com › sql › sql-table.php
w3resource SQL sample Database - w3resource
August 19, 2022 - CREATE TABLE "CUSTOMER" ( "CUST_CODE" VARCHAR2(6) NOT NULL PRIMARY KEY, "CUST_NAME" VARCHAR2(40) NOT NULL, "CUST_CITY" CHAR(35), "WORKING_AREA" VARCHAR2(35) NOT NULL, "CUST_COUNTRY" VARCHAR2(20) NOT NULL, "GRADE" NUMBER, "OPENING_AMT" NUMBER(12,2) NOT NULL, "RECEIVE_AMT" NUMBER(12,2) NOT NULL, "PAYMENT_AMT" NUMBER(12,2) NOT NULL, "OUTSTANDING_AMT" NUMBER(12,2) NOT NULL, "PHONE_NO" VARCHAR2(17) NOT NULL, "AGENT_CODE" CHAR(6) NOT NULL REFERENCES AGENTS );
🌐
MySQL
dev.mysql.com › doc › employee › en
MySQL :: Employees Sample Database
Employees Sample Database · Download this Manual · PDF (US Ltr) - 97.4Kb PDF (A4) - 97.6Kb · Table of Contents · 1 Preface and Legal Notices · 2 Introduction · 3 Installation · 4 Validating the Employee Data · 5 Employees Structure · 6 License for the Employees Database · For legal information, see the Legal Notices. For help with using MySQL, please visit the MySQL Forums, where you can discuss your issues with other MySQL users.
🌐
IBM
ibm.com › docs › en › i › 7.4.0
Sample tables
This group of tables includes information that describes employees, departments, projects, and activities. This information forms a sample application that demonstrates some of the features of SQL. All examples assume that the tables are in a schema named CORPDATA (for corporate data).
🌐
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. The classicmodels database is a retailer of scale models of classic cars.
🌐
GitHub
github.com › microsoft › sql-server-samples › tree › master › samples › databases
sql-server-samples/samples/databases at master · microsoft/sql-server-samples
Sample data warehouse that illustrates loading data into Azure SQL Data Warehouse. ... Sample databases and Analysis Services models for use with SQL Server.
Author   microsoft
🌐
Snowflake Documentation
docs.snowflake.com › en › user-guide › sample-data
Sample data sets | Snowflake Documentation
Sample data sets are provided in a database named SNOWFLAKE_SAMPLE_DATA that has been shared with your account from the Snowflake SFC_SAMPLES account. If you do not see the database, you can create it yourself.
🌐
Databasesample
databasesample.com › database › sample-sql-database-for-practice
Sample Sql Database For Practice Structure and Schema
Whether you're a beginner looking ... these sample databases cover diverse use cases and industries. We empower you to enhance, update, and optimize a pre-existing database to better suit your evolving needs. Alter tables, modify relationships, update schemas, and troubleshoot issues while ensuring data integrity and system stability. We offer a powerful online database designer tool that allows you to build and customize your database effortlessly. With an intuitive ...
🌐
GitHub
github.com › lerocha › chinook-database
GitHub - lerocha/chinook-database: Sample database for SQL Server, Oracle, MySQL, PostgreSQL, SQLite, DB2 · GitHub
Update: Check out the Netflix Sample Database, a sample database with movies and TV shows based on the data from the Netflix Engagement Report and the Netflix Global Top 10 weekly list. The Chinook data model represents a digital media store, including tables for artists, albums, media tracks, invoices and customers.
Starred by 2.6K users
Forked by 736 users
Languages   TSQL 81.3% | C# 18.3%
🌐
SQL Server Tutorial
sqlservertutorial.net › home › getting started with sql server › sql server sample database
SQL Server Sample Database
July 26, 2021 - CREATE TABLE production.stocks ( store_id INT, product_id INT, quantity INT, PRIMARY KEY (store_id, product_id), FOREIGN KEY (store_id) REFERENCES sales.stores (store_id) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (product_id) REFERENCES production.products (product_id) ON DELETE CASCADE ON UPDATE CASCADE );Code language: SQL (Structured Query Language) (sql) Click the following link to download the sample database script:
🌐
EnterpriseDB
enterprisedb.com › docs › epas › latest › fundamentals › sql_fundamentals › 02_sql_tutorial › 01_sample_database › 02_sample_database_description
EDB Docs - EDB Postgres Advanced Server v18 - Overview of the sample database
All employee-related information is stored in the emp table. The sample company is regionally diverse, so the database keeps track of the location of the departments. Each company employee is assigned to a department.