% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

## `COUNT_DISTINCT` [esql-count_distinct]

**Syntax**

:::{image} ../../../images/functions/count_distinct.svg
:alt: Embedded
:class: text-center
:::


:::{include} ../parameters/count_distinct.md
:::

:::{include} ../description/count_distinct.md
:::

:::{include} ../types/count_distinct.md
:::

:::{include} ../examples/count_distinct.md
:::

:::{include} ../appendix/count_distinct.md
:::
