Consider the following relational schema for a


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

borrowed(memb no, isbn, date)Write the following queries in relational algebra.a. Find the names of members who have borrowed any book publishedby "McGraw-Hill".b. Find the name of members who have borrowed all books publishedby "McGraw-Hill".

c. Find the name and membership number of members who have borrowedmore than five different books published by "McGraw-Hill".

d. For each publisher, find the name and membership number of memberswho have borrowed more than five books of that publisher.

e. Find the average number of books borrowed per member. Take intoaccount that if an member does not borrow any books, then that

member does not appear in the borrowed relation at all.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Consider the following relational schema for a
Reference No:- TGS01208658

Now Priced at $20 (50% Discount)

Recommended (96%)

Rated (4.8/5)