AUWENFIELD NOTES
JOHNNY AUWENFORGE
LUMEN Galleries ↗
← databases

SQL across dialects

Learn relational thinking once, then compare the syntax each database actually accepts.

GUIDE

5 published lessons · Updated 2026-09-14

1 / 9Before you begin

Read in order, or choose a chapter. Lesson links can be bookmarked.

Before you begin

Start in a disposable SQLite database. Install the SQLite CLI and run sqlite3 learning.db. Paste the setup below once into this new database. Later comparison examples use the same expenses table. Never use a work or production database for exercises.

Working toward: Design a relational schema, write correct queries, diagnose plans, and migrate between database engines.

Read each explanation, work through the example, and attempt the exercise before opening its answer. Published lessons are ready to study; unfinished roadmap topics remain planned.

Validation: Lessons 1–4 retain their prior SQLite checks. Lesson 5's fixture, four worked queries, exercise answers and incorrect-query counterexamples were executed in an in-memory SQLite 3.53.1 database through Python 3.12.14. PostgreSQL and SQLite join semantics were documentation-reviewed. The other ten comparison engines, their clients and DDL policies were not execution-tested.