Select C#,Avg(score) from SC group by C# order by Avg(score),C# DESC ;