Skip to content

Latest commit

 

History

History
executable file
·
32 lines (22 loc) · 392 Bytes

File metadata and controls

executable file
·
32 lines (22 loc) · 392 Bytes

MAX

功能

返回 expr 表达式的最大值。

语法

MAX(expr)

参数说明

epxr: 被选取的表达式。

返回值说明

返回值为数值类型。

示例

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