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

浙大不同难度题目的正确率 http://www.nowcoder.com/practice/d8a4f7b1ded04948b5435a45f03ead8c

SELECT
    t3.difficult_level,
    (SUM(if(t2.result='right',1,0)) / COUNT(t2.result)) as correct_rate
FROM    
    user_profile t1,
    question_practice_detail t2,
    question_detail t3
WHERE
    t1.university = '浙江大学'
    and t1.device_id = t2.device_id
    and t2.question_id = t3.question_id
GROUP BY 
	t3.difficult_level
ORDER BY 
	correct_rate ASC;
全部评论
92的语法总是让我眼前一亮
1
送花
回复
分享
发布于 2022-06-14 09:47
棒棒哒
点赞
送花
回复
分享
发布于 2022-08-10 14:24
秋招专场
校招火热招聘中
官网直投
有点暴力!
点赞
送花
回复
分享
发布于 2022-10-08 12:10 上海

相关推荐

点赞 评论 收藏
转发
31 4 评论
分享
牛客网
牛客企业服务