ARRAY_MIN

Learn how to use the ARRAY_MIN array function in PlaidCloud Lakehouse. Returns the minimum element in an array - see syntax, examples, and output.

Returns the minimum element in an array.

Analyze Syntax

func.array_min([3, 1, 4, 1, 5])

Analyze Examples

func.array_min([3, 1, 4, 1, 5])

┌───┐
 1 
└───┘

SQL Syntax

ARRAY_MIN([3, 1, 4, 1, 5])

SQL Examples

SELECT ARRAY_MIN([3, 1, 4, 1, 5]);

┌───┐
 1 
└───┘