Skip to main content
Version: Candidate-4.0

min

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