Skip to content

578. Get Highest Answer Rate Question 👎

1
2
3
4
5
6
7
SELECT question_id AS survey_log
FROM SurveyLog
GROUP BY 1
ORDER BY
  COUNT(answer_id) / COUNT(*) DESC,
  question_id ASC
LIMIT 1;