maxLong

Determine maximum of two values (long format).

Compare two columns (long format) and return the higher value.

Usage Details

select *, maxLong(column1, column2) as maxValue from table

-- column1: first column
-- column2: second column

Did this page help you?