Type: Function
Function: GREATEST
Syntax: GREATEST(value1, ..., valueN)
Description: Return the highest value from a list of provided values. This operator applies to a predetermined list of values.
This operator is not an aggregator. It applies to dimensional values only. To return the maximum value in a group (metric), use the MAX
aggregator instead.
Sample usage:
GREATEST(1,2,3)
returns3
GREATEST(created_at, updated_at)
will always returnupdated_at
by definition.