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