# MIN

The `MIN` function calculates the minimum value of a field.

## Syntax

`MIN(field)`

### Parameters

#### `field`

The field for which the minimum value is calculated.

## Examples

Basic Usage

```esql
FROM employees
| STATS MIN(languages)
```

Calculate the minimum value of the `languages` field.

Using Inline Functions

```esql
FROM employees
| STATS min_avg_salary_change = MIN(MV_AVG(salary_change))
```

Calculate the minimum value of the average salary change by first averaging the multiple values per row using the `MV_AVG` function and then applying the `MIN` function.
