Skip to main content
Version: Stable-3.1

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