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

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

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

1
select difficult_level,sum(if(result='right',1,0))/count(q1.question_id) correct_rate
2
from user_profile u
3
inner join question_practice_detail q1
4
on u.device_id = q1.device_id
5
inner join question_detail q2
6
on q1.question_id = q2.question_id
7
where university = '浙江大学'
8
group by difficult_level
9
order by correct_rate

运行结果自测输入提交记录
自测运行
保存并提交

全部评论

相关推荐

缒梦&独舞:这家公司是这样的,去年给我实习offer了,不过也是面着玩儿的,他周六还要去做公益志愿活动
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务