I want to order ascending a MySQL query by this rule: x-y/x
x = price
y = price2
price and price2 are the columns from the MySQL table.
I have this query but unfortunately doesn`t work.
SELECT *
FROM albums
WHERE price2 > 1
ORDER BY price - price2 / price ASC
Thanks for attention.