in Databases edited by
143 views
0 votes
0 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
in Databases edited by
143 views

1 comment

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

please edit the query and give the proper query. 

1
1

1 Answer

1 vote
1 vote
Best answer

I hope you are asking this question: Databases: GATE CSE 2007 | Question: 59 (gateoverflow.in)

selected by