select t2.dt dt, count(t2.uid) as dau, round(count(t1.uid)/count(t2.uid), 2) uv_new_ratio from ( select uid, min(date (in_time)) dt from tb_user_log group by uid ) t1 right join ( select ...