Question DB-REL-0065
HardWhich relational algebra expression finds students who have taken every course?
- A.
σ(Enrolled) × Course
- B.
Enrolled ⋈ Course
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Relational Model and Keys question
Which relational algebra expression finds students who have taken every course?
σ(Enrolled) × Course
Enrolled ⋈ Course
Sign up free to see the answer and a step-by-step explanation.
π_{sid, cid}(Enrolled) ÷ π_{cid}(Course)
π_{sid}(Enrolled) − π_{cid}(Course)