Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following tables form a Library database held in an RDBMS Borrower (card no, last name, first name, address, city, state,zip Books CISBN, title, pub_date
The following tables form a Library database held in an RDBMS Borrower (card no, last name, first name, address, city, state,zip Books CISBN, title, pub_date , pub.id , list price, category.id, pub_id) Categories (category_id, category_desc) Author (author_id , last_name , first_name) Bookauthor (ISBN, author_id) Publisher (pub_id, name, contact, phone) Bookloans (ISBN, branch_id, card_no , date_out, due_date) Bookcopies (ISBN, branch id , no of_copies) Branch Cbranch.id, branch name, city) Write SQL statements to perform the following queries: 1. Display the title of each book and the name and phone number of the contact at the publisher's office for reordering each book 2. Which books were written by an author with the last name Steven? Perform the search using the author name. 3. Identify the authors of the books Leila Smith borrowed Perform the search using the borrower last name. 4. Display the most recent publication date of all books 5. Display the list price of the least expensive book in the Computer Science category. 6. What's the list price of the most expensive book written by Carlos Tim? 7. Display how many times each book title has been borrowed 8. How many times has the book with ISBN "0401140733" been borrowed
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