WITH user_info_tmp AS ( SELECT ui.uid, ui.level level, SUM( IF ( er.submit_time is null and start_time is not null, 1, 0 ) ) incomplete_cnt, ROUND( IFNULL ( SUM( IF ( er.submit_time is null and start_time is not null, 1, 0 ) ) / count(er.start_time), 0 ), 3 ) incomplete_rate, count(er.start_time) ha...