• edited by
1,346 views
2 2 votes
Information about a collection of students is given by the relation studinfo (studid, name, sex). The relation enroll (studld, Courseld) gives which student has enrolled for (or taken) what course(s). Assume that every course is taken by at least one male and at least one female student. What does the following relational algebra expression represent?

 

pi courseld (( pi studlld ( sigma sex= female^ * (studlnfo))* pi courseld (enroll)) - enroll)

 

(a) Courses in which all the female students are enrolled

 

(b) Courses in which a proper subset of female students are enrolled

 

(c) Courses in which only male students are enrolled

 

(d) None of the above

1 Answer

Position:
Show:

Related questions

3 3 votes
4 4 answers
1.8k
1.8k views
0 0 votes
0 0 answers
901
901 views
gatecrack asked Dec 10, 2018
901 views
1 1 vote
3 answers 3 answers
3.8k
3.8k views
rahul sharma 5 asked Jul 13, 2017
3,823 views
How the following two expressions are equal?The LHS will remove duplicates but RHS will not.Please explain
1 1 vote
0 0 answers
1.4k
1.4k views