> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# merge

> Merges the intermediate states of an aggregate function and returns the final result of that aggregate function.

