-
select a.class,a.score
-
from student a
-
where (select count(*) from student where class=a.class and a.score<score)<3
-
order by a.class,a.score desc;
-
每个班的前10名的MySQL 查询方法
猜你喜欢
转载自www.cnblogs.com/wangchao422/p/9484740.html
今日推荐
周排行