首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
大久
获赞
0
粉丝
0
关注
12
看过 TA
2
北方工业大学
2025
产品经理
IP属地:北京
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑大久吗?
发布(4)
刷题
大久
03-26 20:52
已编辑
北方工业大学 机械类
自认为最简单的解法
首先算出没有完成的,用sum(if)函数,count(*) 会计算 包括空值的行select exam_id,sum(if(submit_time is null ,1,0)),round(sum(if(submit_time is null ,1,0))/count(*),3)from exam_recordgroup by exam_idhaving sum(if(submit_time is null ,1,0)) <> 0
0
点赞
评论
收藏
转发
大久
03-25 21:14
北方工业大学 机械类
题解 | #分别满足两个活动的人#
select uid,'activity1'as activity from exam_record where uid not in (select uid from exam_record b where score <85) and year(submit_time)=2021 group by uid union all select uid,'activity2'as activity from exam_record join examination_info using(exam_id) where year(release_time)=2021 and scor...
0
点赞
评论
收藏
转发
大久
03-17 21:30
北方工业大学 机械类
有点逆天了 家人们
select count(distinct device_id) ,count(*) from question_practice_detail
0
点赞
评论
收藏
转发
大久
03-17 21:02
北方工业大学 机械类
简简单单 简单解法
select c.difficult_level,sum(if(result = 'right',1,0))/count(*) as correct_rate from (select result,question_id,device_id from question_practice_detail b join user_profile a using(device_id) where university ="浙江大学") avb join question_detail c using(question_id) group by c.difficult_leve...
0
点赞
评论
收藏
转发
1
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务