The ALL function is a
set function that removes the NULL values.Syntax
<all_function>::= <set_function_name> ( [ALL] <expression> )
set_function_name, expressionExplanation
The argument of an ALL function is a set of values that is calculated as follows:
The ALL function is executed taking into account the relevant set function name for the set of values.
The result of an ALL function is independent of whether the keyword ALL is specified or not.
Result of the ALL function | |
The set of values is empty and the ALL function is applied to the entire result table |
The set functions AVG, MAX, MIN, STDDEV, SUM, VARIANCE supply the NULL value as their result. The set function COUNT supplies the value 0. |
There is no group to which the ALL function can be applied. |
The result is an empty table. |
The set of values contains at least one special NULL value. |
Special NULL value |