MIN
Descriptionβ
The MIN function returns the minimum value of the expression.
Syntaxβ
MIN(expr)
Parametersβ
Parameters | Description |
---|---|
<expr> | The expression needs to be obtained |
Return Valueβ
Returns the same data type as the input expression.
Exampleβ
select MIN(scan_rows) from log_statis group by datetime;
+------------------+
| MIN(`scan_rows`) |
+------------------+
| 0 |
+------------------+