Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Relational Database Schema for a Library Database: o BOOK BKID, BK TITLE, BK LIST PRICE, PBID) PUBLISHER PBID, PB NAME, PB STREET, PB ZIPCODE, PB

image text in transcribed

Relational Database Schema for a Library Database: o BOOK BKID, BK TITLE, BK LIST PRICE, PBID) PUBLISHER PBID, PB NAME, PB STREET, PB ZIPCODE, PB PHONE) o AUTHOR AUID, AU NAME, AU DOB) o LIBRARY BRANCHLBID, LB NAME, LB STREET,LB ZIPCODE) ZIPCODE) BORROWERCRID, CR NAME, CR DOB, CR STREET, CR ZIPCODE(Z?PCODE. CITY, STATE) o o BOOK COPIES(BKID, LBID, NO OF COPIES) o BOOK AUTHORS(BKID.AUID For each of the following write the SQL query 1. List all the attributes for each Author born after January 18, 1976 2 List the Name and Date-of-Birth for each Author 3. List the Name and Date-of Birth for each Author born after January 18, 1976 4. List the Title, List Price and Publisher's Name for each Book. S. List the Title, List Price and Publisher's Name for each Book whose List Price is more than $200.00 6. 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 8. List the number of books, and the minimum, average & maximum List Price for all books 9. List the Name, and average and maximum book List Price of each Publisher. 10.List number of Publishers who have published at least one Book whose List Price is more than 11. List the ID& Name of each Publisher who has never published a Book whose List Price was more $200.00 than $200.00 12. List the ID & Name of each Publisher who only publishes Books whose List Price is more than $200.0O

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_2

Step: 3

blur-text-image_3

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

Database Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

Students also viewed these Databases questions

Question

1. Discuss the four components of language.

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago