maxFloat

Determine maximum of two values (float format).

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

Usage Details

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

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

© 2017-2021 LogicHub®. All Rights Reserved.