LeetCode-SQL-578. 查詢回答率最高的問題

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;
相關文章
相關標籤/搜索