蹦撒卡拉卡
蹦撒卡拉卡
全部文章
题解
归档
标签
去牛客网
登录
/
注册
蹦撒卡拉卡的博客
全部文章
/ 题解
(共1篇)
题解 | #牛客的课程订单分析(四)#
两个开窗函数,一个求最小日期,一个求数量,然后你会发现重复了,所以加个distinct select p.* from ( select DISTINCT user_id,min(date) over(partition by user_id order by date asc) as fi...
Mysql
2021-10-18
0
405