select distinct exam_id,duration,release_time from (select t1.exam_id, t2.duration, t2.release_time, timestampdiff(minute,start_time,submit_time) as costtime, row_number() over(partition by t1.exam_id order by timestampdiff(minute,start_time,submit_time) asc) as rank1, row_n...