Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the following questions, use the relational schema defined as follow ISBN, itle, author, edition, year) BookCopy (copyNo, ISBN, available) Borower(borrowerNo, borrowerName, borrowerAddress) BookLoan (copyNo,
For the following questions, use the relational schema defined as follow ISBN, itle, author, edition, year) BookCopy (copyNo, ISBN, available) Borower(borrowerNo, borrowerName, borrowerAddress) BookLoan (copyNo, dateOut, dateDue, borrowerNo) where Book contains details of book titles in the library and the ISBN is the primary key BookCopy cains details of the individual copies of books in the library and copyNo is the primary key. ISBN is a foreign key identifying the book title contains details of library members who can borrow books and borrowerNo is the primary key Borrower BookLoan cotains details of the book copies that are borrowed by library members and key. borrowerNo is a foreign key identifying copyNoldateOut forms the primary the borrower 1. List all book titles 2. List all borrower details, in alphabetical order of borrower name. 3. List all book titles published in the year 2005 written by "J. K. Rowling" 4. How many copies of ISBN 0-7475-8108-8" are there? 5. List all copies of the book with "Harry Potter" keyword in itle that are available for borrowing 6. List the names of borrowers who currently have the book title "Lord of the Rings" on loan 7. List the names of borrowers who will overdue books today 8. List the top 10 most-borrowed books in the library
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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