assume I have 4 assignment with assignmentID:A1,A2,A3,A4 in a assignment table and following table:
GroupID GraderName assigmentID
1 TA1 A1
2 TA2 A2
3 TA1 A4
4 TA1 A3
5 TA1 A1
6 TA2 A4
7 TA3 A3
8 TA3 A2
9 TA3 A1
10 TA2 A1
11 TA1 A2
Report name of the grader that mark at least one group for every assignment. From my table, it should report TA1. TA2 didnt mark any A3 and TA3 didnt mark any A4 thus ignore them. Can someone suggest a approach using relational algebra operator such as cross join , natural join, self join, etc....