Question
Exercise II: Relational Algebra (25 marks) Student(Sid, Sname, Level, Major) Course(CourseId, Title, DeptId ) Department(DeptId, DeptName, Location) Enroll(Sid, CourseId, DeptId, EnrDate) ClubMemebr(Club, headClub Id, Sid,
Exercise II: Relational Algebra (25 marks) Student(Sid, Sname, Level, Major) Course(CourseId, Title, DeptId ) Department(DeptId, DeptName, Location) Enroll(Sid, CourseId, DeptId, EnrDate) ClubMemebr(Club, headClub Id, Sid, startDate) Note that, Student.Major=Department.DeptName and club.headClub Id=student.Sid Express the following English queries in Relation algebra expression 1. Find name of students who whove register for the French club (5 marks) 2. Find student who is heading the Book club?(5 marks) 3. Find IDs and Name of students in 400 levels that have enrolled a course that belong to the computer science (CS) department.(5 marks) 4. Draw the tree expression of the result gotten in the question (3) (5 marks) 5. Find the club that Usman (student) from computer science (CS) belongs to (5 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started