Exercise: Unique Grades
Get all unique grades from students.
Solution
sql
1SELECT DISTINCT grade FROM students;Practice
sql
1-- Unique ages
2SELECT DISTINCT age FROM students;
3
4-- Unique course-grade combinations
5SELECT DISTINCT course, grade FROM students;