GREATEST (Lakehouse v2)
Returns the greatest value from a list of values.
Analyze Syntax
Section titled “Analyze Syntax”func.greatest(<val1>, <val2>[, ...])Analyze Examples
Section titled “Analyze Examples”func.greatest(3, 7, 1, 9, 4)
┌───┐│ 9 │└───┘SQL Syntax
Section titled “SQL Syntax”GREATEST(<val1>, <val2>[, ...])SQL Examples
Section titled “SQL Examples”SELECT GREATEST(3, 7, 1, 9, 4);
┌───┐│ 9 │└───┘