mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
1.1 KiB
1.1 KiB
slug | sidebar_position |
---|---|
/en/sql-reference/aggregate-functions/reference/uniqexact | 191 |
uniqExact
Calculates the exact number of different argument values.
uniqExact(x[, ...])
Use the uniqExact
function if you absolutely need an exact result. Otherwise use the uniq function.
The uniqExact
function uses more memory than uniq
, because the size of the state has unbounded growth as the number of different values increases.
Arguments
The function takes a variable number of parameters. Parameters can be Tuple
, Array
, Date
, DateTime
, String
, or numeric types.
See Also