mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +00:00
182 B
182 B
slug | sidebar_position |
---|---|
/en/sql-reference/aggregate-functions/reference/sum | 4 |
sum
Calculates the sum. Only works for numbers.
SELECT sum(salary) FROM employees;