I have a table with this example information:
Student Grade John A John C John A Lucy F Lucy B Lucy B Adam F Adam F Adam F
I am trying to make a query that produces this:
Student Grade Adam F Adam F Adam F
If the student has passed any of their classes, I want to take them out of the list.
John passed all classes, out of the list. Lucy passed at least one class, out of the list. Adam failed all classes, keep in the list.