select TTIME as maxper from ( SELECT TTIME, row_number() over (order by TTIME desc) as rn, count(*) over () as total_count FROM