with sql_id as (select *from ( select a.*, @row_num:=@row_num+1 as row_num from ( select uid,incomplete_rate, row_number() over(order by incomplete_rate desc) as incomplete_rank from (select uid, count(submit_time) as complete_cnt, ...