Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following tables form part of a Library database held in an RDBMS (ISBN, title, edition, year) Book BookCopy copyNo, ISBN, available) Borower borrowerNo, borrowerName,

image text in transcribed

The following tables form part of a Library database held in an RDBMS (ISBN, title, edition, year) Book BookCopy copyNo, ISBN, available) Borower borrowerNo, borrowerName, borrowerAddress) BookLoan opyNo, dateOut, dateDue, borrowerNo) contains details of book titles in the library and the ISBN is the key 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 contains details of library members who can borrow books and borrowerNo is the key where Book BookCopy Borrower 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 Formulate the additional queries in relational algebra and SQL 5.24 List all book titles. 5.25 List all borrower details 5.26 List all book titles published in the year 2012 5.27 List all copies of book titles that are available for borrowing. 5.28 List all copies of the book title "Lord of the Rings" that are available for borrowing 5.29 List the names of borrowers who currently have the book title "Lord of the Rings" on loan 5.30 List the names of borrowers with overdue books 5.31 How many copies of ISBN "O-321-52306-7" are there? 5.32 How many copies of ISBN "0-321-52306-7" are currently available? 5.33 How many times has the book title with ISBN "0-321-52306-7" been borrowed? 5.34 Produce a report of book titles that have been borrowed by "Peter Bloomfield". 5.35 For each book title with more than 3 copies, list the names of library members who have borrowed them. 5.36 Produce a report with the details of borrowers who currently have books overdue 5.37 Produce a report detailing how many times each book title has been borrowed

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

What is order of reaction? Explain with example?

Answered: 1 week ago

Question

Derive expressions for the rates of forward and reverse reactions?

Answered: 1 week ago

Question

Write an expression for half-life and explain it with a diagram.

Answered: 1 week ago

Question

What do you mean by underwriting of shares ?

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago