with t1 as ( select uid,date(in_time) as dt from tb_user_log union select uid,date(out_time) as dt from tb_user_log ), t2 as (select distinct(uid),min(date(in_time)) as early_dt from&nbs...