网站介绍:文章浏览阅读412次。在会员分析中计算最近七天连续三天活跃会员数-- 添加gidselect device_id, dt, date_sub(dt, row_number() over(partition by device_id order by dt)) gid from dws.dws_member_start_day where dt between date_sub(current_date, -7) and current_date;-- 求出大于等于3天的记录select de_数仓指标练习
- 链接地址:https://blog.csdn.net/weixin_44847293/article/details/112209175
- 链接标题:数仓练习(上)_数仓指标练习-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8611
- 网站标签:数仓指标练习