54 lines
835 B
Markdown
54 lines
835 B
Markdown
|
## {{esql}} aggregate functions [esql-agg-functions]
|
||
|
|
||
|
|
||
|
The [`STATS`](/reference/query-languages/esql/esql-commands.md#esql-stats-by) command supports these aggregate functions:
|
||
|
|
||
|
:::{include} lists/aggregation-functions.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/avg.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/count.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/count_distinct.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/max.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/median.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/median_absolute_deviation.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/min.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/percentile.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/st_centroid_agg.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/st_extent_agg.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/std_dev.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/sum.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/top.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/values.md
|
||
|
:::
|
||
|
|
||
|
:::{include} functions/weighted_avg.md
|
||
|
:::
|
||
|
|