题目:
有一张表成绩表a ,表结构如下,一个sql查询出总成绩前2的同学:
select name,SUM(score) from api_test.scoreGROUP BY name ORDER BY SUM(score) DESCLIMIT 2