可以 left join 之后三天的每一天,然后 coalesce(b.user_id, c.user_id, d,user_id) as is_stay,留存就count( distinct is_stay)