LEAST

Returns the minimum value from a set of values.

Analyze Syntax

func.least((<value1>, <value2> ...))

Analyze Examples

func.least((5, 9, 4))

┌───────────────────────┐
 func.least((5, 9, 4)) 
├───────────────────────┤
                     4 
└───────────────────────┘

SQL Syntax

LEAST(<value1>, <value2> ...)

SQL Examples

SELECT LEAST(5, 9, 4);

┌────────────────┐
 least(5, 9, 4) 
├────────────────┤
              4 
└────────────────┘
Last modified April 25, 2024 at 8:41 PM EST: updating conditional functions (c113c0b)