Aggregate (overview)
none (documentation, rules or examples)
What changes
- Input
- none
- Output or change
- none
Syntax at a glance
n/a (reference page)
Work example
Reduce many input rows to one result per group with counts, totals, ranges, or statistics.
Define the grouping key first and check how each aggregate treats nulls and duplicate values.
Check your work A grouped aggregate changes row count, while a windowed aggregate keeps its input rows.
Open Microsoft Learn for full syntax, permissions, and details for your version.