Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2007 | Question 59
  • Difficulty Level : Hard
  • Last Updated : 25 Feb, 2014

Information about a collection of students is given by the relation studinfo(studId, name, sex). The relation enroll(studId, courseId) gives which student has enrolled for (or taken) that 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?

(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


Answer: (B)

Explanation: See Question 1 of https://www.geeksforgeeks.org/database-management-systems-set-11/

Quiz of this Question

sudo-gate-course

My Personal Notes arrow_drop_up
Recommended Articles
Page :