Returns a single arbitrary value from the specified column.Documentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|---|---|
<expression> | Any expression | Any |
<condition> | An optional boolean expression to filter rows used in aggregation | BOOL |
NULL inputs. It returns NULL only when all inputs are NULL or there are no inputs.
Return Type
Same as input typeExamples
Examplenickname column, excluding NULL. The first time the query below runs, the nickname kennethpark might be returned. The second time the query runs, sabrina21 or any other value, such as ruthgill or steven70, might be returned, but NULL will never be returned while non-NULL options exist.
Example
NULL as no non-NULL values are available.