select t1.uid, t1.act_month_total,t1.act_days_2021,t2.act_days_2021_exam,t3.act_days_2021_question from #先找到前三列的结果 ( select a.uid,count(distinct left(b.submit_time,7))as act_month_total,count(distinct if(left(b.submit_time,4)='2021',left(b.submit_time,10),null))as act_days_2021 from ( select uid...