SELECT
question_id AS survey_log
FROM
survey_log
GROUP BY question_id
ORDER BY COUNT(answer_id) / COUNT(IF(action = 'show', 1, 0)) DESC
LIMIT 1;
LeetCode-SQL-578. 查询回答率最高的问题
猜你喜欢
转载自blog.csdn.net/m0_37302219/article/details/104983828
今日推荐
周排行