I need to query a table and select 3 of the values of 4 columns. I need to compare the values of the 3rd column and the fourth column and select the larger value.
For ex
select column1, coloumn2, case when column3 < column4 then column4 else coloum3 end from table.