题解 | #浙大不同难度题目的正确率#

浙大不同难度题目的正确率

https://www.nowcoder.com/practice/d8a4f7b1ded04948b5435a45f03ead8c

select
    difficult_level,
    sum(result = 'right')/count(*) correct_rate
from
    question_practice_detail
    left join question_detail on question_detail.question_id = question_practice_detail.question_id
    left join user_profile on user_profile.device_id = question_practice_detail.device_id
    where university='浙江大学'
group by
    difficult_level
order by
    avg(result = 'right');

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务