with t1 as (select user_id from register_tb where reg_time >='2022-02-08 00:00:00') ,t2 as (select user_id, date(log_time) as dt, row_number()over(partition by user_id order by log_time) as rn from login_tb) ,t3 as (select a.user_id,count(a.first_date) as first_cnt from (select t2.user_id,d...