2020-06-18 08:24:31 +00:00
|
|
|
---
|
2020-07-09 15:10:35 +00:00
|
|
|
toc_folder_title: Reference
|
2022-04-09 13:29:05 +00:00
|
|
|
sidebar_position: 36
|
2020-07-30 12:49:19 +00:00
|
|
|
toc_hidden: true
|
2020-06-18 08:24:31 +00:00
|
|
|
---
|
|
|
|
|
2022-06-02 10:55:18 +00:00
|
|
|
# List of Aggregate Functions
|
2020-06-18 08:24:31 +00:00
|
|
|
|
|
|
|
Standard aggregate functions:
|
|
|
|
|
|
|
|
- [count](../../../sql-reference/aggregate-functions/reference/count.md)
|
|
|
|
- [min](../../../sql-reference/aggregate-functions/reference/min.md)
|
|
|
|
- [max](../../../sql-reference/aggregate-functions/reference/max.md)
|
|
|
|
- [sum](../../../sql-reference/aggregate-functions/reference/sum.md)
|
|
|
|
- [avg](../../../sql-reference/aggregate-functions/reference/avg.md)
|
|
|
|
- [any](../../../sql-reference/aggregate-functions/reference/any.md)
|
|
|
|
- [stddevPop](../../../sql-reference/aggregate-functions/reference/stddevpop.md)
|
|
|
|
- [stddevSamp](../../../sql-reference/aggregate-functions/reference/stddevsamp.md)
|
|
|
|
- [varPop](../../../sql-reference/aggregate-functions/reference/varpop.md)
|
|
|
|
- [varSamp](../../../sql-reference/aggregate-functions/reference/varsamp.md)
|
|
|
|
- [covarPop](../../../sql-reference/aggregate-functions/reference/covarpop.md)
|
|
|
|
- [covarSamp](../../../sql-reference/aggregate-functions/reference/covarsamp.md)
|
|
|
|
|
|
|
|
ClickHouse-specific aggregate functions:
|
|
|
|
|
|
|
|
- [anyHeavy](../../../sql-reference/aggregate-functions/reference/anyheavy.md)
|
|
|
|
- [anyLast](../../../sql-reference/aggregate-functions/reference/anylast.md)
|
|
|
|
- [argMin](../../../sql-reference/aggregate-functions/reference/argmin.md)
|
|
|
|
- [argMax](../../../sql-reference/aggregate-functions/reference/argmax.md)
|
|
|
|
- [avgWeighted](../../../sql-reference/aggregate-functions/reference/avgweighted.md)
|
2020-08-05 13:06:31 +00:00
|
|
|
- [topK](../../../sql-reference/aggregate-functions/reference/topk.md)
|
2020-06-18 08:24:31 +00:00
|
|
|
- [topKWeighted](../../../sql-reference/aggregate-functions/reference/topkweighted.md)
|
|
|
|
- [groupArray](../../../sql-reference/aggregate-functions/reference/grouparray.md)
|
|
|
|
- [groupUniqArray](../../../sql-reference/aggregate-functions/reference/groupuniqarray.md)
|
|
|
|
- [groupArrayInsertAt](../../../sql-reference/aggregate-functions/reference/grouparrayinsertat.md)
|
|
|
|
- [groupArrayMovingAvg](../../../sql-reference/aggregate-functions/reference/grouparraymovingavg.md)
|
|
|
|
- [groupArrayMovingSum](../../../sql-reference/aggregate-functions/reference/grouparraymovingsum.md)
|
|
|
|
- [groupBitAnd](../../../sql-reference/aggregate-functions/reference/groupbitand.md)
|
|
|
|
- [groupBitOr](../../../sql-reference/aggregate-functions/reference/groupbitor.md)
|
|
|
|
- [groupBitXor](../../../sql-reference/aggregate-functions/reference/groupbitxor.md)
|
|
|
|
- [groupBitmap](../../../sql-reference/aggregate-functions/reference/groupbitmap.md)
|
|
|
|
- [groupBitmapAnd](../../../sql-reference/aggregate-functions/reference/groupbitmapand.md)
|
|
|
|
- [groupBitmapOr](../../../sql-reference/aggregate-functions/reference/groupbitmapor.md)
|
|
|
|
- [groupBitmapXor](../../../sql-reference/aggregate-functions/reference/groupbitmapxor.md)
|
|
|
|
- [sumWithOverflow](../../../sql-reference/aggregate-functions/reference/sumwithoverflow.md)
|
|
|
|
- [sumMap](../../../sql-reference/aggregate-functions/reference/summap.md)
|
|
|
|
- [minMap](../../../sql-reference/aggregate-functions/reference/minmap.md)
|
|
|
|
- [maxMap](../../../sql-reference/aggregate-functions/reference/maxmap.md)
|
|
|
|
- [skewSamp](../../../sql-reference/aggregate-functions/reference/skewsamp.md)
|
|
|
|
- [skewPop](../../../sql-reference/aggregate-functions/reference/skewpop.md)
|
|
|
|
- [kurtSamp](../../../sql-reference/aggregate-functions/reference/kurtsamp.md)
|
|
|
|
- [kurtPop](../../../sql-reference/aggregate-functions/reference/kurtpop.md)
|
|
|
|
- [uniq](../../../sql-reference/aggregate-functions/reference/uniq.md)
|
|
|
|
- [uniqExact](../../../sql-reference/aggregate-functions/reference/uniqexact.md)
|
|
|
|
- [uniqCombined](../../../sql-reference/aggregate-functions/reference/uniqcombined.md)
|
|
|
|
- [uniqCombined64](../../../sql-reference/aggregate-functions/reference/uniqcombined64.md)
|
|
|
|
- [uniqHLL12](../../../sql-reference/aggregate-functions/reference/uniqhll12.md)
|
|
|
|
- [quantile](../../../sql-reference/aggregate-functions/reference/quantile.md)
|
|
|
|
- [quantiles](../../../sql-reference/aggregate-functions/reference/quantiles.md)
|
|
|
|
- [quantileExact](../../../sql-reference/aggregate-functions/reference/quantileexact.md)
|
2020-08-16 19:12:46 +00:00
|
|
|
- [quantileExactLow](../../../sql-reference/aggregate-functions/reference/quantileexact.md#quantileexactlow)
|
|
|
|
- [quantileExactHigh](../../../sql-reference/aggregate-functions/reference/quantileexact.md#quantileexacthigh)
|
2020-06-18 08:24:31 +00:00
|
|
|
- [quantileExactWeighted](../../../sql-reference/aggregate-functions/reference/quantileexactweighted.md)
|
|
|
|
- [quantileTiming](../../../sql-reference/aggregate-functions/reference/quantiletiming.md)
|
|
|
|
- [quantileTimingWeighted](../../../sql-reference/aggregate-functions/reference/quantiletimingweighted.md)
|
|
|
|
- [quantileDeterministic](../../../sql-reference/aggregate-functions/reference/quantiledeterministic.md)
|
|
|
|
- [quantileTDigest](../../../sql-reference/aggregate-functions/reference/quantiletdigest.md)
|
|
|
|
- [quantileTDigestWeighted](../../../sql-reference/aggregate-functions/reference/quantiletdigestweighted.md)
|
2021-09-22 11:55:14 +00:00
|
|
|
- [quantileBFloat16](../../../sql-reference/aggregate-functions/reference/quantilebfloat16.md#quantilebfloat16)
|
|
|
|
- [quantileBFloat16Weighted](../../../sql-reference/aggregate-functions/reference/quantilebfloat16.md#quantilebfloat16weighted)
|
2020-06-18 08:24:31 +00:00
|
|
|
- [simpleLinearRegression](../../../sql-reference/aggregate-functions/reference/simplelinearregression.md)
|
|
|
|
- [stochasticLinearRegression](../../../sql-reference/aggregate-functions/reference/stochasticlinearregression.md)
|
|
|
|
- [stochasticLogisticRegression](../../../sql-reference/aggregate-functions/reference/stochasticlogisticregression.md)
|
|
|
|
- [categoricalInformationValue](../../../sql-reference/aggregate-functions/reference/categoricalinformationvalue.md)
|
|
|
|
|
2021-09-19 20:05:54 +00:00
|
|
|
[Original article](https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/) <!--hide-->
|