I have two columns that are minimum price and maximum price. Most of the time, the min_price and max_price is the same. Instead of two separate fields for the price, I would like just one "price" field. If the min_price and the max_price are the same I want to display that price. If the min_price and max_price are different, then I would like to show a concatenated string that is (min_price "-" max_price). This is just for a table grid, so data types are not important.
Would I use an IF THEN statement in my select?
select (lots of other stuff), min_price, max_price, (lots more stuff)
Not sure where to go from here. I am using MySQL 5.