Expected order facts are assertions only; compiler output is the source of truth.
highlighted = computed this step
Honest by construction
Each lesson compiles raw rows and order rules, turns recomputed facts into expected assertions, then compiles again.
expected is assertion only
Show the guarded order
The guarded order uses 2 order columns and returns 3 page rows.
page rows=3
Ordering examples are tiny finite table transforms; SQL dialects, NULL ordering, collations, indexes, optimizer behavior, performance, and product behavior are out of scope.
Try to tamper
Wrong expected facts, derived sidecars, duplicate columns, missing order columns, bad directions, and negative limits fail closed.
fail closed before render
Summary
Book twenty-two stays inside finite ORDER BY, LIMIT, and OFFSET behavior.