--不明白随时问我
select SNO,成绩 from (
select SNO,成绩,row_number() over (order by 成绩 desc)*1 bz from tbname where CNO='203402') aa where aa.bz<=5
order by 成绩 desc
select top 5 CNO,GRADE from sc where SNO=“203402” order by GRADE desc,试一下看是不是这样的。
select * from (select top 5 sno,grade from sc where cno='203402' order by grade ) order by grade desc