[프로그래머스] 서울에 위치한 식당 목록 출력하기 - MySQL, Oracle
🔗 서울에 위치한 식당 목록 출력하기🦈 MySQL 🦈SELECT I.REST_ID , I.REST_NAME , I.FOOD_TYPE , I.FAVORITES , I.ADDRESS , ROUND(AVG(R.REVIEW_SCORE), 2) AS SCOREFROM REST_INFO IJOIN REST_REVIEW RON I.REST_ID = R.REST_IDWHERE I.ADDRESS LIKE '서울%'GROUP BY I.REST_IDORDER BY SCORE DESC, I.FAVORITES DESC; ⭕️ Oralce ⭕️SELECT I.REST_ID , I.REST_NAME , I.FOOD_TYPE , I.FAVORITES , I.ADDRESS ..
2024.09.18