回复: 5
跳转到指定楼层
上一主题 下一主题
收起左侧

apple DS 店面

🔗
匿名用户-I1KL8  2022-4-10 07:41:04 |倒序浏览

2021(10-12月) 分析|数据科学类 硕士 全职@apple - Other - 技术电面  | 😃 Positive 😐 Average | Other | 在职跳槽

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
求大米
求大米
求大米。 大家面试都不容易求大米
*page_events*

* user_id
* device_type
* page_id ..
* visit_ts

*playback_events*

* user_id
* device_type. 1point 3 acres
* video_id
* play_ts


*Questions:*

* Number of users who are cross-platform viewers (have pla
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限查看其他获取积分的方式
Unlock interview details and practice with AI
Curated Interview Questions from Top Companies

where true
and rank = 1)

select count(distinct user_id)  
from t2
where play_ts between '2021-04-01' and '2021-04-30'  --fisr time play in apirl 2021. 1point3acres.com

评分

参与人数 5大米 +9 收起 理由
葡萄的奶茶 + 5 很有用的信息!
hwhi + 1 赞一个!
goodfine1210 + 1 给你点个赞!
星之所在 + 1 很有用的信息!
OwtPnow + 1 很有用的信息!

查看全部评分


上一篇:zillow 店面 求大米
下一篇:IQVIA Video Interview面经
推荐
OwtPnow 2022-4-10 08:31:19 | 只看该作者
全局:
感谢分享
回复

使用道具 举报

全局:
感谢楼主分享!
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-I1KL8  2023-3-25 05:10:10
求大米啊
回复

使用道具 举报

🔗
dqlpromise 2023-3-26 01:37:57 | 只看该作者
全局:
感谢楼主分享!
回复

使用道具 举报

全局:
  1. Q1: Number of users who are cross-platform viewers (have plays on at least two types of platforms)

  2. SELECT COUNT(DISTINCT user_id) AS Cross_Platform_Viewers
  3. FROM (
  4.   SELECT user_id
  5.   FROM playback_events
    . From 1point 3acres bbs
  6.   GROUP BY user_id
  7.   HAVING COUNT(DISTINCT device_type) >= 2
  8. ) AS subquery;

  9. -baidu 1point3acres
  10. Q2: Number of users who visited the pages but didn’t play
  11. . From 1point 3acres bbs
  12. select count(distinct p.user_id) as users_only_visit. Χ
  13. from page_events p
  14. left join playback_events pb. 1point 3acres
  15. on p.user_id = pb.user_id
  16. where pb.play_ts is NULL;
  17. . 1point 3acres

  18. Q3: Number of users whose first play is in April 2021. 1point3acres

  19. SELECT COUNT(DISTINCT user_id) AS cnt
  20. FROM (
  21.   SELECT pb.user_id, MIN(pb.play_ts) AS first_play
  22.   FROM page_events p-baidu 1point3acres
  23.   JOIN playback_events pb
  24.   ON p.user_id = pb.user_id. check 1point3acres for more.
  25.   GROUP BY pb.user_id
  26. ) t1. From 1point 3acres bbs
  27. WHERE YEAR(t1.first_play) = 2021 AND MONTH(t1.first_play) = 4;
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表