SQLancer
← All Database Flashcards Library / Flashcards / SQLite
🪶 SQLite Knowledge Base

SQLite Study Flashcards

Self-contained, serverless, zero-configuration in-process database engine widely deployed in application files. Click any card to flip and test your knowledge.

Card 1 of 10 Architecture

What does 'serverless' mean in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

SQLite reads and writes directly to standard disk files without running a background server process daemon.

Click to Flip Back ↶
Card 2 of 10 Storage

What is WAL mode in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

Write-Ahead Logging (WAL) allows concurrent readers while a write is occurring, improving concurrency and speed.

Click to Flip Back ↶
Card 3 of 10 Data Types

How does dynamic typing work in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

Data types are associated with the stored values themselves rather than the declared column types (manifest typing).

Click to Flip Back ↶
Card 4 of 10 Memory

What is an in-memory SQLite database?

Click Card to Reveal Answer ↷
Answer SQLite

A database created using ':memory:' as the filename, residing entirely in RAM and deleted upon connection close.

Click to Flip Back ↶
Card 5 of 10 Introspection

What does PRAGMA table_info(tbl) do?

Click Card to Reveal Answer ↷
Answer SQLite

It returns metadata about table columns, data types, nullability, default values, and primary key flags.

Click to Flip Back ↶
Card 6 of 10 Maintenance

What is VACUUM in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

VACUUM rebuilds the database file to reclaim unused space and defragment data pages.

Click to Flip Back ↶
Card 7 of 10 Keys

How do AUTOINCREMENT primary keys work in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

AUTOINCREMENT ensures primary key IDs are strictly monotonically increasing and never reused.

Click to Flip Back ↶
Card 8 of 10 Extensions

What is FTS5 in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

Full-Text Search 5 (FTS5) is a built-in virtual table module providing fast text search over text columns.

Click to Flip Back ↶
Card 9 of 10 Virtual Tables

What is a Virtual Table in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

An object that presents an external data source (like CSV files or custom C code) as a SQLite table.

Click to Flip Back ↶
Card 10 of 10 Strict Schema

What is the strict mode introduced in SQLite 3.37?

Click Card to Reveal Answer ↷
Answer SQLite

STRICT tables enforce rigid column data type checks, overriding default dynamic manifest typing.

Click to Flip Back ↶

Need practical SQL queries for SQLite?

Explore our ready-to-use copy-paste query recipes in the Cookbook.

View SQLite Cookbook →