
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
퀴즈를 풀었는데, 강사님과 똑같이 코드를 입력했는데 자꾸 에러가 노출됩니다
퀴즈 문제
'7월10일 ~ 7월19일에 가입한 고객 중, 포인트를 가진 고객의 숫자, 그리고 전체 숫자, 그리고 비율을 보고 싶어요! 아래와 같은 결과를 보고 싶다면 어떻게 해야할까요?'

작성한 코드 및 에러 메세지
select count(pu.point_user_id)as pnt_user_cnt,
count(*) as tot_usr_cnt
count(pu.point_user_id)/count(u.user_id) as ratio
from users u
left join point_users pu on u.user_id = pu.user_id
where u.created_at between '2020-07-10' and '2020-07-20'
에러 메시지
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 'count(pu.point_user_id)/count(u.user_id) as ratio
from users u
left join p' at line 3
