Information about a collection of students is given by the relation…

GATE · 2007 · CS

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?

  1. A.

    Courses in which all the female students are enrolled.

  2. B.

    Courses in which a proper subset of female students are enrolled.

  3. C.

    Courses in which only male students are enrolled.

  4. D.

    None of the above

Attempted by 105 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…