
안녕하세요 3주차에서 실습 내용으로 올려주신 내용 코드 작성 중에 궁금한 점이 생겼습니다!
"[지역 (시도)] 음식점 이름 (음식 종류) 컬럼을 만들고 주문 건수 확인하기"
강사님이 작성하신 코드
select concat('[', substr(addr,1,2),']', restaurant_name, '(', cuisine_type,')') "음식점"
,count(1) "주문 건수"
from food_orders
group by 1

작성한 코드 및 에러 메세지
select concat('[', substr(addr,1,2),']', restaurant_name, '(', cuisine_type,')') "음식점"
,count(1)
from food_orders
