Question: 2. a. Consider the library database member(memb no, name) book(isbn, title, authors, publisher) borrowed(memb no, isbn, date) Write the following queries in SQL. a. Find

 2. a. Consider the library database member(memb no, name) book(isbn, title,

2. a. Consider the library database member(memb no, name) book(isbn, title, authors, publisher) borrowed(memb no, isbn, date) Write the following queries in SQL. a. Find the member number and name of each member who has borrowed at least one book published by "Macmillan". b. Find the member number and name of each member who has borrewsed every book published by "Macmillan". c. For each publisher, find the member number and name of each member who has borrowed more than five books of that publisher. d. Find the average number of books berrowed per member. Take into account that if a member does not borrow any books, then that nember does

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 Databases Questions!