select top 30 * from (select top 38 * from table order by grade asc) x order by grade desc
还要排序就再()