Problem 1112 · Medium

Highest Grade For Each Student

SQL walkthrough with invented sample tables. Rank each students courses by grade and keep the best, breaking grade ties by the smallest course id.

Open the interactive visualisation