SELECT R.rest_id
,rest_name
,food_type
,favorites
,address
,round(avg(review_score),2) AS score
FROM rest_info R JOIN rest_review V ON R.rest_id = V.rest_id
WHERE address LIKE '서울%'
GROUP BY rest_id
ORDER BY score DESC, favorites DESC;