嘿,我被问到这个问题:
将以下 SQL 翻译成关系代数
SELECT DISTINCT Student.Name, Course.Name
FROM Student,
Attendee,
Course
WHERE
Student.Name = Attendee.Name
AND Attendee.CourseId = Course.CourseId
AND StudyCourse = ‘CS’
AND Course.CourseId > 42
AND Year = 2011
我试图环顾四周,但我似乎无法找到如何做到这一点的具体答案。