Skip to content
Novus Examples
sqlite12 KB

Sample SQLite Database

A real SQLite database with two related tables — users and orders joined by a foreign key — for testing database importers and SQL tooling.

Preview — schema + first 8 rowssqlite
idintnametextemailtext
1User 1user1@example.com
2User 2user2@example.com
3User 3user3@example.com
4User 4user4@example.com
5User 5user5@example.com
6User 6user6@example.com
7User 7user7@example.com
8User 8user8@example.com
users table (8 of 10 rows); a related orders table (25 rows) joins on user_id.

Specifications

Tables
users, orders
Relationship
orders.user_id → users.id
Users
10
Orders
25

What is a .sqlite file?

SQLite is a self-contained, serverless relational database stored as a single binary file holding tables, indexes, and schema in a defined page format. It is the most widely deployed database engine, embedded in browsers, phones, and applications. The file is a complete, transactional SQL database requiring no server.

How to use this file

Use an example SQLite file to test database drivers, schema and table introspection, SQL query execution, and tools that read or migrate embedded databases.

Generated by generation/data_structured.py. Free for any use, no attribution required — license.