I have 3 columns, name - price1 - price2

I want to compare price1 against price2 during my select and only return the
greatest value to my output.

output would look like, name - finalprice


any ideas?