SUM

Description

Syntax

Sum (Expr)

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

example

1. MySQL > select sum(scan_rows) from log_statis group by datetime;
2. +------------------+
3. | sum(`scan_rows`) |
4. +------------------+
5. |       8217360135 |
6. +------------------+

keyword

SUM