Without using the Loop you can get it in many ways, but it depend upon the sql Server version
Sub_Query
;with cte as { select top 5 * from Table_Name order by Column_Name Asc ) select top 1 * from cte order by Column_Name Desc
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)