# MV_MIN

The MV_MIN function converts a multivalued expression into a single valued column containing the minimum value.

## Syntax

`MV_MIN(field)`

### Parameters

#### field

Multivalue expression to be reduced to its minimum value.

## Examples

Calculates the minimum value from a list of numbers in the column `a` and stores it in a new column `min_a`:

```esql
ROW a=[2, 1]
| EVAL min_a = MV_MIN(a)
```

Finds the minimum string value from a list in the column `a`, comparing their UTF-8 representations, and stores it in `min_a`:

```esql
ROW a=["foo", "bar"]
| EVAL min_a = MV_MIN(a)
```
