题解 | #作答试卷得分大于过80的人的用户等级分布#

作答试卷得分大于过80的人的用户等级分布

http://www.nowcoder.com/practice/5bc77e3a3c374ad6a92798f0ead4c744

select level,count(user_info.uid) as level_cnt 
from user_info join exam_record on user_info.uid=exam_record.uid
where exam_id in (select exam_id from examination_info where tag='SQL')
and score>80 group by level order by level_cnt desc;

全部评论

相关推荐

榕城小榕树:你别说,你还真别说,计算机实习薪资跟这个差不多
点赞 评论 收藏
分享
点赞 收藏 评论
分享
牛客网
牛客企业服务