[discrete] [[esql-least]] === `LEAST` *Syntax* [.text-center] image::esql/functions/signature/least.svg[Embedded,opts=inline] *Parameters* `first`:: First of the columns to evaluate. `rest`:: The rest of the columns to evaluate. *Description* Returns the minimum value from multiple columns. This is similar to <> except it is intended to run on multiple columns at once. NOTE: When run on `keyword` or `text` fields, this returns the first string in alphabetical order. When run on `boolean` columns this will return `false` if any values are `false`. include::types/least.asciidoc[] *Example* [source.merge.styled,esql] ---- include::{esql-specs}/math.csv-spec[tag=least] ---- [%header.monospaced.styled,format=dsv,separator=|] |=== include::{esql-specs}/math.csv-spec[tag=least-result] |===