Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the six basic operators, in a single instruction, Write a relational algebra expression that returns member names that on average borrow books for the

image text in transcribed

image text in transcribedUsing the six basic operators, in a single instruction, Write a relational algebra expression that returns member names that on average borrow books for the longest period

image text in transcribed

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 11 (5 Points) Write a relational algebra expression that returns member names that on average borrow books for the longest period 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 11 (5 Points) Write a relational algebra expression that returns member names that on average borrow books for the longest period

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions