project[NAME]( student join select[C1 <> C2 and C2 <> C3 and C1 <> C3]( rename[SID,C1,G1](enroll) join rename[SID,C2,G2](enroll) join rename[SID,C3,G3](enroll) ) );
project[NAME]( student join select[C1 <> C2]( rename[SID,C1,G1](select[Grade='F'](enroll)) join rename[SID,C2,G3](select[Grade='F'](enroll)) ) );
project[NAME]( student join rename[SID,C1,G1](enroll) join rename[C1,T1](select[TITLE='Theory'](course)) join rename[SID,C2,G2](enroll) join rename[C2,T2](select[TITLE='Database'](course)) );
project[CNO,TITLE]( course join select[S1 <> S2 and S2 <> S3 and S1 <> S3]( rename[S1,CNO,G1](enroll) join rename[S2,CNO,G2](enroll) join rename[S3,CNO,G3](enroll) ) );
project[CNO,TITLE]( course join select[S1 <> S2]( rename[S1,CNO,G1](select[Grade='A'](enroll)) join rename[S2,CNO,G2](select[Grade='A'](enroll)) ) );
Page Maintained by raj@cs.gsu.edu