ClickHouse/docs/en/sql-reference/aggregate-functions/reference/sum.md
2023-01-26 17:33:30 +03:00

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;