select * from tb t where not exists(select 1 from tb where 科目=t.科目 and 成绩>t.成绩)
求各科最高分的一个思路
最新推荐文章于 2021-02-06 10:47:26 发布
select * from tb t where not exists(select 1 from tb where 科目=t.科目 and 成绩>t.成绩)