Apostolos Fanakis
6 years ago
19 changed files with 26 additions and 20 deletions
@ -0,0 +1,6 @@ |
|||||
|
SELECT restaurant.restaurant_id, AVG(user_rates_restaurant.rating_grade) AS 'Average rating' |
||||
|
FROM flavours_without_borders.restaurant |
||||
|
JOIN flavours_without_borders.user_rates_restaurant |
||||
|
ON restaurant.restaurant_id = user_rates_restaurant.restaurant_id |
||||
|
WHERE restaurant_name = "McDonald's" |
||||
|
GROUP BY restaurant_id |
Loading…
Reference in new issue