https://school.programmers.co.kr/learn/courses/30/lessons/131115
정답
SELECT *
FROM FOOD_PRODUCT
WHERE PRICE = (SELECT MAX(PRICE) FROM FOOD_PRODUCT)
;
풀이단계
Step1) PRICE 최대 값 출력
SELECT MAX(PRICE) FROM FOOD_PRODUCT
Step2) 서브퀴리
SELECT *
FROM FOOD_PRODUCT
WHERE PRICE =19000
;
- 위 사진과 같은 의미