See this examledeclare @table table( rank int, student varchar(10))insert into @tableselect 1, 'A' union allselect 2, 'B' union allselect 3, 'C' union allselect 4, 'D' union allselect 5, 'E' union allselect 6, 'F' select top 2 rank, studentfrom @tableorder by rankselect top 2 rank, studentfrom( select top 4 rank, student from @table order by rank) aorder by rank descselect top 2 rank, studentfrom( select top 6 rank, student from @table order by rank) aorder by rank desc
KH