Hi, shouldnt be too hard.
Just trying to output the price of a query.
I need the query to add all the numbers in a column, then subtract a percentage from it to produce a final number.
I came up with this
SELECT SUM(price)/100*20
FROM style
WHERE collection_month_id = '06-06-a'
GROUP BY collection_month_id;
this gives me 20 percent of the total. I hope someone can show me how i can deduct the percentage from the total!
Thanks!