Multiple Column Grouping
sql
1SELECT course, grade, COUNT(*) AS count
2FROM students
3GROUP BY course, grade;Groups by unique course-grade combinations.

1SELECT course, grade, COUNT(*) AS count
2FROM students
3GROUP BY course, grade;Groups by unique course-grade combinations.