I am beginner in mysql Can anybody help me with the error on line number 5:
select a.*, count(b.user_id) as attempts from survey a
left join survey_attempt b on a.survey_id = b.attempt_surveyid
where a.survey_status != 0
order by survey_order asc
GROUP by a.survey_id