Expected row and group filter facts are assertions only.
Honest by construction
Expected WHERE and HAVING facts are assertions only.
compiler is source of truth
Render checked output
The guarded pipeline renders 1 output group after recomputation.
checked groups=1
HAVING examples are tiny finite group-filter transforms; SQL dialect completeness, optimizer behavior, indexing, and product claims are out of scope.
Try to tamper
Wrong expected facts, derived sidecars, missing columns, missing aggregate aliases, bools, and floats fail closed.
tamper rejected
Summary
This book shows exact finite WHERE before GROUP BY and HAVING after aggregates only.
scoped row and group filters