既然是要排序 那么那个type 也要在select里吧 select top 5 name,stu,typefrom classwhere name like '%二班%' and tpye=trueorder by stu asc,type dese