SELECT cid,AVG(score) 平均成绩 from sc GROUP BY cid ORDER BY AVG(score) DESC,cid
本文来自博客园,作者:弩哥++,转载请注明原文链接:https://www.cnblogs.com/bangbangzoutianya/p/15167190.html