Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using the six basic operators, in a single instruction, Write a relational algebra expression that returns the members names and the average number of days
Using the six basic operators, in a single instruction, Write a relational algebra expression that returns the members names and the average number of days they borrowed books for.
Six basic operators select: o project: 11 union: set difference: - Cartesian product: x rename: P Instructions Try to answer all the questions using what you have learned in class. Please make your query general not data related Staff Reservation SIR sName Joan Pam Greg biD mID sld Quantity numberOfDays Status b1 M2 s11 1 Closed b2 M3 s12 2 PassDue b2 M1 53 1 2 Closed s3 Member Book mID M1 mName Sam Paul Ron bID brittle numberOfCopy CategorybAuthor b1 Algorithm 2 Math Aline b2 Database 3 CS Sean b3 Gone with 4 Fiction John the wind Laura Question 9 (4 Points) Write a relational algebra expression that returns member's name and the average number of days they borrowed books for
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