GREATEST function (extension)
Syntax
GREATEST ( expression, expression, ... )
Description
The scalar function GREATEST returns the greatest value among the values of the given expressions.
Example
SELECT cust_no, name,
GREATEST (ADD_MONTHS (start_date, 10), SYSDATE)
FROM customer ;
Notes