Apply aggregate functions to expressions
The following query shows how you can apply aggregate
functions to arithmetic expressions, and declare display labels for
their results:
The query finds and displays the maximum, minimum, and
average amounts of time (in days, hours, and minutes) between the
reception and resolution of a customer call, and labels the derived
values appropriately. The query result shows these aggregate time-interval
values that the query calculates: