Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Relational Database Schema for a Library Database: BOOK(BKID, BK_TITLE, BK_LIST_PRICE, PBID) PUBLISHER(PBID, PB_NAME, PB_STREET, PB_ZIPCODE, PB.PHONE) AUTHOR(AUID, AU_NAME, AU_DOB) LIBRARY_BRANCH(LBID, LB_NAME, LB_STREET, LB_ZIPCODE) BORROWER(CRID, CR_NAME,
Relational Database Schema for a Library Database: BOOK(BKID, BK_TITLE, BK_LIST_PRICE, PBID) PUBLISHER(PBID, PB_NAME, PB_STREET, PB_ZIPCODE, PB.PHONE) AUTHOR(AUID, AU_NAME, AU_DOB) LIBRARY_BRANCH(LBID, LB_NAME, LB_STREET, LB_ZIPCODE) BORROWER(CRID, CR_NAME, CR_DOB, CR_STREET, CR_ ZIPCODE) ZIPCODE(ZIPCODE, CITY, STATE) BOOK_COPIES(BKID, LBID, NO_OF_COPIES) BOOK_AUTHORS(BKIP, AUID) For each of the following, write the SQL query: List all the attributes for each Author born after January 18, 1976. List the Name and Date-of-Birth for each Author. List the Name and Date-of-Birth for each Author born after January 18, 1976. List the Title, List Price and Publisher's Name for each Book. List the Title, List Price and Publisher's Name for each Book whose List Price is more than $200.00. List the Title, List Price, Author's Name and Publisher's Name for each Book whose List Price is more than $200.00. List the ID, Name, City, State & Zipcode of each Publisher who has published at least one Book whose List Price was more than $200.00. List the number of books, and the minimum, average & maximum List Price for all books. List the Name, and average and maximum book List Price of each Publisher. List number of Publishers who have published at least one Book whose List Price is more than $200.00. List the ID & Name of each Publisher who has never published a Book whose List Price was more than $200.00. List the ID & Name of each Publisher who only publishes Books whose List Price is more than $200.00
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