
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
실습 1번에 대한 문제 내용에서 '음식 타입별 지역별 ~ ' 라고 명시가 되어 있는데 지역별에 대한 조건은 없이 쿼리 구문 진행이 되는 건지 질문 남깁니다. 아래에는 제가 작성한 쿼리문입니다.(칼럼명은 제가 임의로 작성하였습니다.)
```
SELECT cuisine_type,
sido,
sum_quantity,
total_count_resturant,
CASE when total_count_resturant>=5 and sum_quantity>=30 then 0.005
WHEN total_count_resturant>=5 and sum_quantity<30 then 0.008
WHEN total_count_resturant<5 and sum_quantity>=30 then 0.01
WHEN total_count_resturant<5 and sum_quantity<30 then 0.02
END "수수료"
FROM (
SELECT cuisine_type , SUBSTR(addr, 1, 2) sido, sum(quantity) sum_quantity, COUNT(DISTINCT restaurant_name) total_count_resturant
FROM food_orders fo
group by 1, 2
) a
```


