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

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

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

select difficult_level,
sum(case when result like 'right' then 1 else 0 end )/count(*) as correct_rate
from user_profile as a inner join 
question_practice_detail as b 
on a.device_id=b.device_id
inner join question_detail as c
on b.question_id=c.question_id
where university like '浙江大学'
group by difficult_level
order by correct_rate

全部评论
建立完关系后,在select展示全部字段 便可以看见虚拟表 ,在看着虚拟表写会比较容易
1 回复 分享
发布于 2023-12-10 07:18 湖北

相关推荐

嵌入式求职之路:可以看我经验😂,https://www.nowcoder.com/share/jump/73221730841876945
点赞 评论 收藏
分享
评论
1
1
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务