FunctionsAggregate FunctionsList of Aggregate FunctionsanyLastanyLastSelects the last value encountered. The result is just as indeterminate as for the any function.