mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 01:12:12 +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;