minInt

Determine minimum of two values (int format).

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

Usage Details

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

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

© Devo Technology Inc. All Rights Reserved.