examination表,字段为id, name, course, score,查询每门课的最高分和人数

 

select  course,score,count(*)count  from
(select * from examinatioin a where score=(select max(score) from examinatioin b where b.course=a.course))

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2021-06-14
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2022-12-23
  • 2022-01-11
  • 2022-12-23
相关资源
相似解决方案