Skip to main content
Count the number of different values ​​in columns of type TINYINT, SMALLINT and INT, return the sum of COUNT (DISTINCT expr) same.

Syntax

Parameters

expr: column expression. The supported column type is TINYINT, SMALLINT and INT.

Return value

Returns a value of the BIGINT type.

Examples