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

# hll_cardinality

> Calculates the cardinality of a single HLL type value.

Calculates the cardinality of a single HLL type value.

## Syntax

```Haskell theme={null}
HLL_CARDINALITY(hll)
```

## Examples

```plain text theme={null}
MySQL > select HLL_CARDINALITY(uv_set) from test_uv;
+---------------------------+
| hll_cardinality(`uv_set`) |
+---------------------------+
|                         3 |
+---------------------------+
```

## keyword

HLL,HLL\_CARDINALITY


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.