最爱青草蛋糕
最爱青草蛋糕
全部文章
分类
归档
标签
去牛客网
登录
/
注册
最爱青草蛋糕的博客
全部文章
(共105篇)
题解 | 第二快/慢用时之差大于试卷时长一半的试卷
with t as (select ei.exam_id as exam_id,duration, timestampdiff(second,start_time,submit_time)/60 as time_record, rank()over(partition by exam_id orde...
2025-09-25
0
41
题解 | 第二快/慢用时之差大于试卷时长一半的试卷
with t as (select ei.exam_id as exam_id,duration, timestampdiff(second,start_time,submit_time)/60 as time_record, rank()over(partition by exam_id orde...
2025-09-25
0
42
题解 | 第二快/慢用时之差大于试卷时长一半的试卷
with t as (select ei.exam_id as exam_id,duration, timestampdiff(second,start_time,submit_time)/60 as time_record, rank()over(partition by exam_id orde...
2025-09-25
0
35
题解 | 每类试卷得分前3名
select tag,uid,ranking from ( select tag,uid, rank()over(partition by tag order by max(score) desc,min(score) desc,uid desc) as ranking from examinati...
2025-09-25
0
31
题解 | 每个6/7级用户活跃情况
with t1 as (select uid, count(distinct date_format(submit_time,'%Y-%m')) as act_month_total from (select uid,submit_time from exam_record union all ...
2025-09-24
0
34
题解 | 满足条件的用户的试卷完成数和题目练习数
with er_2 as (select ui.uid as uid, level, tag, difficulty, er.submit_time as submit_time,er.score as score from user_info ui join exam_record er on ...
2025-09-24
0
25
题解 | 分别满足两个活动的人
with t1 as (select difficulty,uid,score,duration,timestampdiff(second,start_time,submit_time)/60 as finish_time from examination_info ei join exam_rec...
2025-09-23
0
38
题解 | 分别满足两个活动的人
with t1 as (select difficulty,uid,score,duration,timestampdiff(second,start_time,submit_time)/60 as finish_time from examination_info ei join exam_rec...
2025-09-23
0
28
题解 | 每个题目和每份试卷被作答的人数和次数
select exam_id as tid,count(distinct uid) as uv,count(exam_id) as pv from exam_record group by exam_id union all select question_id as tid,count(dis...
2025-09-23
0
26
题解 | 每个题目和每份试卷被作答的人数和次数
with t1 as (select exam_id as tid,count(distinct uid) as uv,count(exam_id) as pv from exam_record group by exam_id order by uv desc,pv desc), t2 as (...
2025-09-23
0
32
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页