> ## 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.

# avgMerge

> avgMerge combinatorの使用例

## 説明

[`Merge`](https://clickhouse.com/docs/ja/reference/functions/aggregate-functions/combinators#-state) コンビネータは
[`avg`](https://clickhouse.com/docs/ja/reference/functions/aggregate-functions/avg) 関数に適用でき、
部分的な集約状態を結合して最終的な結果を生成できます。

## 使用例

`Merge` コンビネータは、`State` コンビネータと密接に関連しています。
`avgMerge` と `avgState` の両方の例については、
["avgState の使用例"](https://clickhouse.com/docs/ja/guides/clickhouse/examples/aggregate-function-combinators/avgState.md#example-usage)
を参照してください。

## 関連項目

* [`avg`](https://clickhouse.com/docs/ja/reference/functions/aggregate-functions/avg)
* [`Merge`](https://clickhouse.com/docs/ja/reference/functions/aggregate-functions/combinators#-merge)
* [`MergeState`](https://clickhouse.com/docs/ja/reference/functions/aggregate-functions/combinators#-mergestate)
