SELECT uid, SUM(IF(submit_time IS NULL, 1, 0)) AS incomplete_cnt, SUM(IF(submit_time IS NULL, 0, 1)) AS complete_cnt, GROUP_CONCAT(DISTINCT CONCAT(DATE_FORMAT(start_time,'%Y-%m-%d'),':',tag) SEPARATOR';') detail FROM exam_record a JOIN examination_info b ON a.exam_id = b.exam_id WHERE YEAR(st...