Expected HAVING facts are assertions only.
Honest by construction
Expected HAVING facts are assertions only.
compiler is source of truth
Render checked groups
The guarded HAVING filter renders 2 output groups after recomputation.
checked groups=2
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 group columns, bad aggregates, bad HAVING aliases, bools, and floats fail closed.
tamper rejected
Summary
The book shows exact finite WHERE, GROUP BY, COUNT, SUM, and HAVING behavior only.
scoped HAVING model