获赞
42
粉丝
4
关注
4
看过 TA
15
George Washington University
2021
数据分析师
IP属地:未知
暂未填写个人简介
私信
关注
2020-07-21 15:44
已编辑
拼多多_数据分析师
1.自我介绍+我的职业规划   2.深挖简历ARIMA,技术小哥面试的,人很好,但是问的深,对简历一定要了解   3.SQL题 数据表Table 三个字段,名字,科目,成绩,以该学生单科最高分作为最终成绩,输出学生,最终成绩,对应科目。   我的答案:   Select t.name as name, t1.subject as subject , t.m_score as score   From table t1 , (select name,max(score) as m_score   From table   Group by name) t   Where  t1.name=t.n...
Weeds野草:感觉第二问和第一问考的一样啊,就是多来一次选最大而已 row_number()和max()都行 with temp as ( select t1.name, t1.subject, t1.score, ( case t1.subject when '语文' then 3 when '数学' then 2 when '英语' then 1 end ) as rk from Table t1 where (t1.name, t1.score) in ( select name, max(score) from Table t2 group by t2.name ) ) select t3.name, t3.subject, t3.score from temp t3 where (t3.name, t3.rk) in ( select t4.name, max(t4.rk) from temp t4 group by t4.name )
投递字节跳动等公司10个岗位 >
0 点赞 评论 收藏
分享

创作者周榜

更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务