
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
COUNT(cuisine_type) 'order_count' 구문 위치 차이는 뭘까요?
꼭 case 구문보다 먼저 올 경우 오류가 발생됩니다. 꼭 뒤에 써야 하는걸까요?
[오류 위치]
cuisine_type ,COUNT(cuisine_type) 'order_count'
[정상 위치]
end re_age , COUNT(cuisine_type) 'order_count'
[오류 발생]

작성한 코드 및 에러 메세지
SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case when age between 10 and 19 then 10
when age between 20 and 29 then 20' at line 2
