GROUP BY - more use cases
34.4
Exercise

GROUP BY with ordering

Write a query to list all unique not-null courses and the maximum marks obtained in each of them as “maxMarks” by the students, sorted in the ascending order of the maximum marks scored in them.