GREATEST

The GREATEST function identifies the highest value from a selection of facts or metrics within one row.

Syntax

SELECT GREATEST(…, …, …)
SELECT GREATEST(fact, fact)
SELECT GREATEST(metric, metric)
SELECT GREATEST(fact, metric, metric, fact)