Skip to main content
Version: Latest-3.2

min

Description

Returns the minimum value of the expr expression.

Syntax

MIN(expr)

Examples

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

keyword

MIN