Using the attached ER-Diagram for the case study, create a relational schema dia
ID: 3735495 • Letter: U
Question
Using the attached ER-Diagram for the case study, create a relational schema diagram. Make sure your diagram identifies relations, their attributes, the primary key, and referential integrity
User Name PIN Street Address CREDIT CARD City ADMINISTRATOR Address Phone State ate Code Zip STATE State Name Order Number On Hand RESTOCK ORDER Title Order Point Price Contains Quantity Ordered CATAGORY Category Classified by has REVIEW BOOK Year Published Published By Written by Review Text Review No Quantity Ordered PUBLISHER Contains Price At Purchase AUTHOR Order Date First Name ORDER Street Address Order Time Last Name City Shipping Address First Name Last Name State Credit Card Type Street Address Cust Name PIN Zip Credit Card Number Total Subtotal City Address CUSTOMER Shipping Handling Expiration Date State Credit Card Type Zip Expiration Date Credit Card NumberExplanation / Answer
from The given ER Diagram the relational schemas are designed as
1. from the administrator entity the schema can be
Administraor(User name,pin,order number)
2. Administraor hve multivalued attribute it can be represented as
Phone(User name,phoneid)
3. The administraor address
Address(user name,street Address,city,state,zip)
4.Restock_order(user name,ordern umber)
5.Customer(User name,first_name,Last_name,pin,credit card type,credit card number,expiration date)
6.Order(User name,order date,order time,credit card number,credit cardtype,Expiration date,shipping id,subtotal,total)
7.Book(ISBN,Title,price,onHand,order point,active,category,publisher name,ordered,author name)
8.Books_order(ISBN, order date,order time,Quantity ordered,price at purchace)
9.Books_publisher(ISBN,publishername,year published)
10.Books_cataegory(ISBN,Category,Category Type)
11.Books_author(ISBN,Author_firstname,author_lastname)
12.Book_review(ISBN,Review_no)
13.State(state code,state name)
14.Credit cardtype(credit card number,card type)
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.