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