select exam_id,duration,release_time from (select t2.exam_id, t2.duration, t2.release_time, timestampdiff(minute,start_time,submit_time) cnt, dense_rank() over(partition by exam_id order by timestampdiff(second,start_time,submit_time)) as rank_asc, dense_rank() over(partition by exam_id order by ti...