2020.7.22日在boss直聘上面投递    2020.7.23日收到面试电话,约了7.24日下午面试,连续三面       (工作内容跟之前的实习差不多,RFM,SQL取数和Python分析,会用到Linux,但是要求不高)             一面(14:00,大概15min,1v1):    1.自我介绍    2.问了一下实习内容    3.RFM模型的理解和应用    4.数据分析和数据挖掘的倾向    5.简单的两道SQL,只用到group by和order by       二面(16:30,大概30min,1v1):    两道SQL题目:    1  sql查询两个字段相同的记录   比如字段是id uid time这么一张表    id uid time    1   1     5    2   2    1    3   1    5    4   1    2    5   1    3    写出查询uid重复并且time也是重复的记录,比如上面的查出来的是 id = 1 3 的两条记录       2、数据库中有一张如下所示的表,表名为sales。    年 季度 销售    1991 1 11    1991 2 12    1991 3 13    1991 4 14    1992 1 21    1992 2 22    1992 3 23    1992 4 24    要求:写一个SQL语句查询出如下所示的结果。    年 一季度 二季度 三季度 四季度    1991  11   12     13     14    1992  21   22     23     24       3.问了一下实习内容    4.RFM模型的理解和应用       面试的时候回答错了,或许这也是我最终凉的原因,过后思考的正确答案:       ①select id from tt    where uid in (select uid from tt group by uid,time having count(id)>1)    and time in (select time from tt group by uid,time having count(id)>1)    或者    select id from tt,(select uid,time from tt group by uid,time having count(id)>1) a    where tt.uid =a.uid    and tt.time=a.time       ②select 年,sum(case when 季度=1 then 销售 else null end) as '一季度',    sum(case when 季度=2 then 销售 else null end) as '二季度',    sum(case when 季度=3 then 销售 else null end) as '三季度',    sum(case when 季度=4 then 销售 else null end) as '四季度'    from tt    group by 年          三面(总监面,17:15, 大概20min,1v1)    (二面面完休息了一下下,hr打电话说,总监刚好有时间,想聊一下,结果好多都不会,被问懵了,彻底凉了。)    1.如何提高复购率,应该怎么埋点;   (A:历史订单,购物车下方的推荐,聊天页面;ps:没有做过埋点,完全不了解)    2.以前做过的工作现在想想有没有哪里可以优化的;  (A:知识点关联分析)    3.(实习)监控指标包括哪一些,为什么监控指标要这样设置,如何进行监控;    4.成本和营销费用怎么关联;    5.深拷贝和浅拷贝的区别 https://www.cnblogs.com/xiaxiaoxu/p/9742452.html     6.列表和元组的区别    7.SQL题:每门课程分数都大于80的学生姓名    name   kecheng   fenshu    张三    语文       81    张三     数学       75    李四     语文       76    李四     数学       90       select name    from tt    where fenshu>=80    group by name    having count(kecheng)=(select count(distinct kecheng) from tt)    或者    select distinct name    from tt    where name not in (select name from tt where fenshu <80)       7月份的第一场面试吧,给后面的面试都开了一个很好的头,虽然最后没有过,但还是觉得收获蛮多的。面试真的是件熟能生巧的事情,希望大家多努力多坚持! 
点赞 6
评论 2
全部评论

相关推荐

不愿透露姓名的神秘牛友
2025-12-03 11:33
能赢到发光发热​:我被平均了,谁给我补差价?
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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