Skip to content

Returns the smallest value from a list of values.

func.least(<val1>, <val2>[, ...])
func.least(3, 7, 1, 9, 4)
┌───┐
1
└───┘
LEAST(<val1>, <val2>[, ...])
SELECT LEAST(3, 7, 1, 9, 4);
┌───┐
1
└───┘