340. 식품분류별 가장 비싼 식품의 정보 조회하기

김해준's avatar
Feb 15, 2026
340. 식품분류별 가장 비싼 식품의 정보 조회하기

언어 : MySQL

문제

notion image
notion image

풀이 과정

Food_Product 테이블 데이터 조회
notion image
category로 그룹화 하기
notion image
category별 최고가 체크
notion image
category 제한하기
notion image
해당 테이블은 새로운 food_product테이블에 조인하기
notion image
category, price, name만 조회
notion image
식품 가격 기준으로 내림차순
notion image
notion image
Share article