Hello,
Maybe you could help me... I'm a bit stuck.
I'm working on a script to rate restaurants.
I have 2 different tables
Here's my table 1 :
I have these fields :
id
name (of restaurant)
Here's my table 2 :
id
restaurant_id (same as id of table 1)
rating
Now I want to display a page with the top 50 restaurants
Like this :
Name_of_restaurant : average rating for this restaurant
Do you see the problem? Two different tables... need to average numbers from one table.
Thanks for helping me if you can.
Alex