I have a statement (below) that gives me a column (price) that shows decimal place of … I would like to round the result to 2 decimal place. But I can not seem to get it to work. Tried everthing I could find about the ROUND () function.
What is the best way to get this result?
Where in this statement would I put ROUND (,2)?
SELECT inventory.sku
, inventory.description_short
, inventory.full_price * .12 + inventory.full_price * 7.69 AS 'price'
FROM inventory
JOIN inventory_history
ON inventory.sku = inventory_history.sku
WHERE inventory_history.store_id = 4
ORDER BY inventory.sku ASC