一个比较难的查询语句
题目:请按照学习成绩的大小,输出名次在10-20之间的学生的信息
表结构:id(primary key),stu_Name,stu_Score
尽量在一个表里,如不行,也可以分开
请各位指点!
谢谢
------解决方案--------------------
select top 10 * from TblName where stu_Score > (select max(stu_Score) from (select top 10 stu_Score from TblName order by stu_Score desc)as tblTmp) order by stu_Score