IF, CASE 조건문
select restaurant_name,
cuisine_type "원래 음식 타입",
if(cuisine_type='Korean', '한식', '기타') "음식 타입"
from food_orders
ex)case when 조건1 then 값(수식)1
when 조건2 then 값(수식)2
else 값(수식)3
end
select order_id,
price,
quantity,
case when quantity=1 then price
when quantity>=2 then price/quantity end "음식 단가"
from food_orders