Files
doris/docs/en/sql-manual/sql-functions/aggregate-functions/sum.md
jiafeng.zhang 267e8b67c2 [refactor][doc]The new version of the document is online (#9272)
replace the `docs/` with `new-docs/`
2022-04-28 15:22:34 +08:00

1.1 KiB

title, language
title language
SUM en

SUM

Description

Syntax

Sum (Expr)

Used to return the sum of all values of the selected field

example

MySQL > select sum(scan_rows) from log_statis group by datetime;
+------------------+
| sum(`scan_rows`) |
+------------------+
|       8217360135 |
+------------------+

keyword

SUM