Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started