By grouping the previous results by grade, we get three categories corresponding to the unique values A, B, and C.
grade
A
B
C
Make sure to pick GROUP, followed by BY, and finally grade.
GROUP
BY