Hello,
I'm using this query.
SELECT reviews.resto_id,reviews.globnote,restaurants.name FROM reviews LEFT JOIN restaurants ON reviews.resto_id=restaurants.id
And it works...
Here's the result : http://www.restomania.be/top5.php
Now I would like to average the results of reviews.globnote.
AVG(reviews.globnote) does not work in the query! Why?
See...
The restaurant Sogno d'Italia is displayed twice with a rating (reviews.globnote) of 7.33 and 6.66
How can I make it so that it is displayed only once with the average value?
Thanks in advance.