mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
11 lines
336 B
Markdown
11 lines
336 B
Markdown
---
|
|
slug: /en/sql-reference/aggregate-functions/reference/sumwithoverflow
|
|
sidebar_position: 140
|
|
---
|
|
|
|
# sumWithOverflow
|
|
|
|
Computes the sum of the numbers, using the same data type for the result as for the input parameters. If the sum exceeds the maximum value for this data type, it is calculated with overflow.
|
|
|
|
Only works for numbers.
|