> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# min

> min 返回表达式的最小值。

返回 expr 表达式的最小值。

## 语法

```Haskell theme={null}
MIN(expr)
```

## 参数说明

`epxr`: 被选取的表达式。

## 返回值说明

返回值为数值类型。

## 示例

```plain text theme={null}
MySQL > select min(scan_rows)
from log_statis
group by datetime;
+------------------+
| min(`scan_rows`) |
+------------------+
|                0 |
+------------------+
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.