Question: ANSWER IN SQL PLEASE :) answer a-d please member (memb_no, name, age) book(isbn, title, authors, publisher) borrowed (memb_no, isbn, date) 21 Consider the library database
ANSWER IN SQL PLEASE :) answer a-d please


member (memb_no, name, age) book(isbn, title, authors, publisher) borrowed (memb_no, isbn, date) 21 Consider the library database of Figure 3.21. Write the following queries in SQL. a. Print the names of members who have borrowed any book published by "McGraw-Hill". b. Print the names of members who have borrowed all books published by "McGraw-Hill". c. For each publisher, print the names of members who have borrowed more than five books of that publisher. d. Print 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
