SELECT *
FROM (
SELECT *
FROM FOOD_PRODUCT
ORDER BY PRICE DESC)
WHERE ROWNUM = 1;
-- SELECT *
-- FROM FOOD_PRODUCT
-- WHERE PRICE = MAX(PRICE); -- 안됨
SELECT *
FROM FOOD_PRODUCT
WHERE PRICE IN(SELECT MAX(PRICE) FROM FOOD_PRODUCT);
-- PRICE = (SELECT MAX(PRICE) FROM FOOD_PRODUCT)
두번째 풀이는 왜 틀릴까