Sample Data for SQL Practice

Generate sample tables for SQL practice (students, orders, employees), download CSV and query it in your browser. Free.

Quick answer: Create realistic fake data for testing and demos.

Related: Mock Data Generator · Fake Data Generator · Test Data Generator · Student Data Generator: Fake Student Records · Test Data Guides and Free Generators

How to use the Sample Data for SQL Practice

Create realistic fake data for testing and demos.

The Data Generator creates realistic fake data: names, emails, phone numbers, addresses, dates, prices and more. Pick a preset or build your own columns, choose up to 500,000 rows, and download CSV, JSON, Parquet or Excel. Developers and testers use it to fill demos, load-test apps and avoid copying real customer data into test systems.

  1. Choose a dataset
  2. Edit the columns
  3. Set rows and generate

Tips

Example

Input: Dataset: Students, 500 rows

Output: students.csv ready for SELECT, JOIN and GROUP BY

Browse by topic

Who uses Data Utility

Frequently asked questions · Data format benchmark

Frequently asked questions

How do I practise SQL with this data?

Generate a dataset, download the CSV, then open SQL on Your Files and run queries such as SELECT course, AVG(marks) FROM students GROUP BY course. Nothing needs to be installed.

Can I practise JOIN?

Yes. Generate two datasets, for example students and exam marks, and join them on student_id.

Is the data real?

No. It is random and fictional, so it is safe to share.

Can I get the same data again?

No – each click makes new data. Download to keep a set.

How many rows can the Data Generator create?

Up to 500,000 rows at a time. Choose column types such as names, emails, addresses and dates, then download as CSV, JSON, Parquet or Excel.

Related pages

Topic guides

Guides