Skip
Arish's avatar

95. Practice - DISTINCT with ORDER


Exercise: Sorted Unique Marks

Get distinct marks sorted in reverse order.

Solution

sql
1SELECT DISTINCT marks FROM students
2ORDER BY marks DESC;