<< Click to Display Table of Contents >> Navigation: Apollo SQL > Arithmetic Functions > MAXOF |
function MAXOF(arg1, arg2, ..., argn)
Returns the highest value of the n figures. arg1, arg2, ..., argn are valid expressions. There must be at least 2 arguments for this function or an error will be raised.
Example:
SELECT MAXOF( price1, price2, price3 ) FROM products