提交 7f79b084 authored 作者: noelgrandin's avatar noelgrandin

Document the return type of the SUM() aggregate more

上级 42347554
......@@ -2386,7 +2386,8 @@ SUM( [ DISTINCT ] { numeric } )
The sum of all values.
If no rows are selected, the result is NULL.
Aggregates are only allowed in select statements.
The returned value is of the same data type as the parameter.
The data type of the returned value depends on the parameter data type like this:
TINYINT->BIGINT, SMALLINT->BIGINT, INT->BIGINT, BIGINT->DECIMAL, DECIMAL->DECIMAL, FLOAT->DOUBLE, DOUBLE->DOUBLE
","
SUM(X)
"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论