SQL31 SELECT uid, start_month, COUNT(start_time) AS total_cnt, COUNT(submit_time) AS complete_cnt FROM( SELECT er.uid, er.start_time, er.submit_time, DATE_FORMAT(er.start_time, "%Y%m") AS start_month, DENSE_RANK() OVER (PARTITION BY er.uid ORDER BY DATE_FORMAT(er.start_time,"%Y%m") DESC) AS m_rank F...