I am using the following sql code:
SELECT round sum(model_rating) / count(model_id)
AS average where ..........etc
The output returns a figure with 2 decimanl places, ie. 96.00.
I need to change this so the figure returned is a whole number, (96) can anybody help?
Thanks.