# Write your MySQL query statement below
select question_id as survey_log
from SurveyLog
group by question_id
order by sum(if(action='answer', 1, 0)) / sum(if(action='show', 1, 0)) desc, question_id
limit 1
leetcode 578. 查询回答率最高的问题
最新推荐文章于 2024-11-01 11:28:07 发布