# LEAST

The LEAST function returns the minimum value from multiple columns. It is designed to evaluate several columns at once and select the smallest value among them.

## Syntax

`LEAST(first, rest)`

### Parameters

#### first

The first column to evaluate.

#### rest

The remaining columns to evaluate.

## Examples

Finds the smaller value between columns `a` and `b` and stores it in a new column `l`:

```esql
ROW a = 10, b = 20
| EVAL l = LEAST(a, b)
```
