List all copies of the book title “Lord of the Rings” that are available for borrowing. b. List the names of borrowers who currently have the book title “Lord of the Rings” on loan. c. List the names of borrowers with overdue books.

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter1: Overview Of Database Concepts
Section: Chapter Questions
Problem 5HOA: Access path A database table is composed of records and fields hold data. Data is stored in records....
icon
Related questions
Question

The following tables form part of a Library database held in an RDBMS:

  • Book (ISBN, title, edition, year)

  • BookCopy (copyNo, ISBN, available)

  • Borrower (borrowerNo, borrowerName, borrowerAddress)

  • BookLoan (copyNo, dateOut, dateDue, borrowerNo)

where:

  • Book contains details of book titles in the library and the ISBN is the key.

  • BookCopy contains details of the individual copies of books in the library and copyNo is the key. ISBN is a foreign key identifying the book title.

  • Borrower contains details of library members who can borrow books and borrowerNo is the key.

  • BookLoan contains details of the book copies that are borrowed by library members and copyNo/dateOut forms the key. borrowerNo is a foreign key identifying the borrower.

a. List all copies of the book title “Lord of the Rings” that are available for borrowing.

b. List the names of borrowers who currently have the book title “Lord of the Rings” on loan.

c. List the names of borrowers with overdue books.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
SQL Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning