Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedimage text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

More Books

Students also viewed these Databases questions