注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
L5 data scientist 内部面试。
LP就不用说了。简历深挖。几道SQL题。- I have a dataset with customer_id, date, and order. Please write a SQL to find those customer whose order each time is less than last date。具体记不清了,大致就是找purchase一直减少的customer. (用lag function)
- given two tables: product and purchase.
- Find the top 3 and bottom 3 product sold in Dec 2024 (用dense_rank)
- Find the products in the marketplace 1 with at least 100 repeat customers in the last 1 month (用 lag, or self join two tables)
求加米!看不到面筋! |