SQL Language SQL Statement Syntax Migration REST API Ecosystem Router Developer Guide Presto C++ Release Notes Aggregate Functions¶ Overview¶ Aggregate functions operate on a set of values to compute a single result. Except for count(), count_if(), max_by(), min_by() and approx_distinct(), all of these aggregate functions ignore null values and return null for no input rows or when all values are