Sample customers SQL script (100 rows)

A SQL script that creates a customers table and inserts 100 fictional rows using portable syntax.

Download

sample-customers.sql

19.3 KB19,777 bytes

Download SQL sample

Direct download. No sign-up and no waiting.

Type
application/sql
SHA-256
d224b226eda6272ed35bb1b3980bfcda4370e62868c9a67be7a950bf5cfacacb
Direct URL
https://sampletestfiles.com/downloads/samples/sample-customers.sql

Why test with this file

Seeds a test database in seconds, or tests SQL import and migration tooling.

Statements1 CREATE TABLE, 100 INSERT
DialectPortable SQL (PostgreSQL, MySQL, MariaDB, SQLite)
EncodingASCII

What to check

After your application has processed sample-customers.sql, confirm that:

How the file begins

The opening lines of sample-customers.sql, exactly as they appear in the file.

-- Sample SQL script for testing
CREATE TABLE customers (
  id INTEGER PRIMARY KEY,
  first_name VARCHAR(50) NOT NULL,
  last_name VARCHAR(50) NOT NULL,
  email VARCHAR(120) NOT NULL,
  city VARCHAR(60),
  country CHAR(2),
  signup_date DATE,
  balance DECIMAL(10,2)
);

INSERT INTO customers (id, first_name, last_name, email, city, country, signup_date, balance) VALUES (1, 'Ethan', 'Zeller', 'ethan.zeller1@example.com…
INSERT INTO customers (id, first_name, last_name, email, city, country, signup_date, balance) VALUES (2, 'Elena', 'Underhill', 'elena.underhill2@examp…

Preview

Shows the file contents.

Technical details

File namesample-customers.sql
FormatSQL (SQL script)
Extension.sql
MIME typeapplication/sql
Size19,777 bytes (19.3 KB)
KindText
SHA-256d224b226eda6272ed35bb1b3980bfcda4370e62868c9a67be7a950bf5cfacacb
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryDatabase

Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Download from the command line and verify

Fetch the file with curl, then compare its checksum with the SHA-256 value above.

curl -o sample-customers.sql 'https://sampletestfiles.com/downloads/samples/sample-customers.sql'
sha256sum sample-customers.sql     # Linux
shasum -a 256 sample-customers.sql # macOS

On Windows, run Get-FileHash sample-customers.sql -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

About SQL

A text file of SQL statements, used for database dumps, migrations and seed data.

SQL format reference

Where it fits

Related files

All curated sample files