✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Given the following SQL query:
studinfo(studid, name, sex)enroll(studId, courseId)
SELECT DISTINCT e.courseIdFROM enroll eWHERE e.courseId NOT IN ( SELECT e1.courseId FROM enroll e1 JOIN studInfo s ON e1.studId = s.studId WHERE s.sex = 'male');
Which of the following Relational Algebra expressions correctly represents this query?