答案:SELECT name from a GROUP BY name ORDER BY sum(fenshu) DESC LIMIT 0,3 ;
1:
Select top 5 * from 表 order by 成绩 desc
2:
Select top 5 姓名,sum(总成绩)from 表 group by 姓名 order by sum(总成绩) desc
1:
Select top 5 * from 表 order by 成绩 desc
2:
Select top 5 姓名,sum(总成绩)from 表 group by 姓名 order by sum(总成绩) desc
全部评论
相关推荐