CountDistinct
Returns the number of distinct values in each group. Values are compared without regard to case unless caseSensitive is true.
Numeric CountDistinct(AggregationArray valuesArray, Boolean caseSensitive = false)
SELECT CountDistinct(English) as Words, CountDistinct(English, true) as CaseSensitiveWords FROM WordList:FlatTranslateSQL :: Sha512Agg
Returns a single SHA-512 hash of all of the values in each group, as a lower case hex string. Useful for detecting changes to a set of documents.
SQL :: ShowAggregateFunctions
Lists the built-in aggregate functions with their parameters and descriptions.
SQL :: Sum
Returns the total of the values in each group.
SQL :: Syntax
Basic KBSQL syntax and some examples.
SQL :: Variance
Returns the population variance of the values in each group: how far the values are spread from their mean.