I have an ITEMS table with a PRICE column. I added 4% to the price using the built-in functions in the application, but that leaves the result not in a friendly formats for retail. I want all the prices to end with 8 (so $24.93 becomes $24.98)
I need to replace the PRICE with a PRICE rounded to the next 10th, and then subtract .02. This would make 24.93 becomes 25 then subtract .02, making it 24.98.
Could someone help with crafting a SQL query to do this?
Perhaps something like UPDATE ITEMS SET PRICE=(ROUND (PRICE,2)-.02)
?