HAVING Filters
Rows sharing a key form deterministic buckets.
After WHERE, rows with the same group key share a bucket.
The compiler forms 3 region buckets in first-seen display order.
HAVING examples are tiny finite group-filter transforms; SQL dialect completeness, optimizer behavior, indexing, and product claims are out of scope.
Group order is deterministic here: the first visible row for a group fixes its display position.
The bucket table shows exactly which source rows belong to each group.