풀이에서의 포인트
SELECT ORDER_ID, PRODUCT_ID, TO_CHAR(OUT_DATE,'YYYY-MM-DD') AS OUT_DATE,
CASE WHEN TO_CHAR(OUT_DATE,'YYYY-MM-DD') > '2022-05-01' THEN
'출고대기'
WHEN TO_CHAR(OUT_DATE,'YYYY-MM-DD') <= '2022-05-01' THEN
'출고완료'
ELSE
'출고미정'
END AS 출고여부
FROM FOOD_ORDER
ORDER BY ORDER_ID ASC