1. select a.class,a.score
  2.  
    from student a
  3.  
    where (select count(*) from student where class=a.class and a.score<score)<3
  4.  
    order by a.class,a.score desc;
  5.  

相关文章:

  • 2022-01-01
  • 2021-11-01
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案