题解 | #三日留存和七日留存#
三日留存和七日留存
https://www.nowcoder.com/practice/2204f907151747ac85b2f0bca9579101
select
sum(3daycnt)/sum(uidcnt) as trdays,
sum(7daycnt)/sum(uidcnt) as sedays
from ad_channel_register_retention_uid
where from_put = 'Oppo'
group by null