Question: Problem 3 SQL (28 points) Consider the following schemas: Employee (eid, name, office, age) Books (isbn, title, authors, publisher) Loan (eid, isbn, date) Write the


Problem 3 SQL (28 points) Consider the following schemas: Employee (eid, name, office, age) Books (isbn, title, authors, publisher) Loan (eid, isbn, date) Write the following queries in SQL. (1) Print the names of employees who have borrowed any book published by Auburn University Press. (8 points) (2) Print the names of employees who have borrowed all books published by Auburn University Press. (10 points) (3) For each publisher, print the names of employees who have borrowed more than two books of that publisher. (10 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
