minLong

Determine minimum of two values (long format).

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

Usage Details

select *, minLong(column1, column2) as minValue from table

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

Did this page help you?