Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
Applies to: Databricks SQL
Databricks Runtime
Returns the maximum value in array
.
array_max(array)
array
: Any ARRAY with elements for which order is supported.
The result matches the type of the elements.
NULL elements are skipped.
If array
is empty, or contains only NULL elements, NULL is returned.
> SELECT array_max(array(1, 20, NULL, 3));
20