Grouping and Aggregates
A compact grouping and aggregates book for readers who need exact finite GROUP BY behavior: base rows, group buckets, COUNT rows, SUM integer values, aggregate output rows, HAVING-style keep/drop groups, empty inputs, and guarded expected group facts.