with t_youxiao_user as( select uid from user_info where level = 6 or level = 7 ), t_activate_time as( select uid, start_time tmp_time from exam_record union select uid, submit_time tmp_time from practice_record ), t_act_month_total as( select uid, count(distinct(date_format(tm...