with a1 as(select a.pmonth, sum(a.amount) sum1 from ( select month (submit_time) pmonth, uid, count(distinct (day (submit_time))) amount from exam_record where year (submit_time) = 2021 group by pmonth, uid ) a group by a.pmonth ) select month,round(a1.sum1 / mau, 2) avg_active_days,mau from (select...