
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
inner join 실행시 표 2개 순서( from courses 에 enrolleds 붙이기, from enrolleds에 courses 붙이기)
교집합이라서 순서가 상관 없는 것은 이해했는데요.
group by 기준을 저는 title로 잡았는데 선생님은 course_id 로 잡으셨더라구요.
title 로 했을 때 문제는 없었는데 혹시 course_id로 한 특별한 이유가 있으신가요?

작성한 코드 및 에러 메세지
select * from courses c
select c.title, count(*) as cnt_notstart from enrolleds e
inner join courses c
on e.course_id =c.course_id
where e.is_registered = 0
group by c.title
