sql Percentage Of Marks and in the descending order of StudentId in case Percentage Of Marks is the same. code example
Example: desc by sum student submissions
select StudentName,
-> sum(StudentMathScore) AS TOTAL_SCORE
-> from countRowValueDemo
-> group by StudentName
-> order by sum(StudentMathScore);