
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
다른 방식으로 코드 짜보다가 에러가 나서 문의 드립니다.
concat 부분에서 에러가 나는 것 같은데, 한 코드 내에서 새로 생성된 변수를 바로 응용해서 사용하는 것이 불가한가요?

작성한 코드 및 에러 메세지
select
restaurant_name,
price,
case
when price<5000 then '5000 미만'
when price between 5000 and 14999 then '5000 이상 15000 미만'
when price>14999 then '15000 이상'
end "price_range",
cuisine_type,
case
when cuisine_type = 'Korean' then '한식'
when cuisine_type = 'Japanese' or cuisine_type = 'Thai' or cuisine_type = 'Vietnamese' or cuisine_type = 'Indian' then '아시아식'
else '기타'
end "Re_cuisine_type",
concat (price_range, Re_cuisine_type) "최종 구분"
from
food_orders
SQL Error [1054] [42S22]: Unknown column 'price_range' in 'field list'
