Question: Consider the following relational schema for a library: Tmember ( memb no , name, dob ) books ( isbn , title, authors, publisher ) borrowed

Consider the following relational schema for a library:
Tmember(memb no, name, dob) books(isbn, title, authors, publisher) borrowed (memb no, isbn, date)
Write the following queries in relational algebra.
Find the names of members who have borrowed any book published by "McGraw-Hill".
FInd the name of members who have borrowed all books published by "McGraw-Hill".
Find the name and membership number of members who have borrowed more than five different books published by "McGraw-Hill"
For each publisher, find the name and membership number of members whe have borrowed more than five books of that publisher
Find the average number of books borrowed per member. Take into account that if an member does not borrow any books, then that member does not appear in the borrowed relation at all.
Consider the following relational schema for a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!