GATE CS 2007 · ER-Model

MCQ · 1 mark · Problem DBMS-RELM-0088

Information about a collection of students is given by the relation studinfo(\(\underline{studId}\), name, sex). The relation enroll(studId, courseId) 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?
  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

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/2428/gate2007-59

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com