mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
887 B
887 B
toc_priority |
---|
142 |
sumCount
Short description.
Syntax
sumCount(x)
Arguments
x
— Description. Optional (only for optional arguments). Possible values: . Default value: . Type name.y
— Description. Optional (only for optional arguments). Possible values: .Default value: . Type name.
Returned value
- Tuple
(sum, count)
, wheresum
is the sum of numbers andcount
is a counts the number of rows or not-NULL values.
Type: Tuple.
Example
The example must show usage and/or a use cases. The following text contains recommended parts of an example.
Input table (Optional):
Query:
Result: