Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following relational schema represents Product-Supply schema: (Note that PK is underlined and bold-faced and * indicates FK.) PRODUCT (P#,P NAME, PRICE, QTY) SUPPLY (S#*.
The following relational schema represents Product-Supply schema: (Note that PK is underlined and bold-faced and "*" indicates FK.) PRODUCT (P#,P NAME, PRICE, QTY) SUPPLY (S#*. P#*. S_PRICE) SUPPLIER (S#. City). In this schema. P# = Product Number, QTY = Quantity on hand. S# = Supplier Number. PRICE in PRODUCT is the price of selling, while S_PRICE is the supplier-price supplied by the supplier. (28) # P# 53 78 91 PRODUCT P_NAME PRICE QTY TABLE 550 42 WALL UNIT 850 25 CHAIR 250 33 53 SUPPLY P# S PRICE 450 91 150 53 400 36 450 91 475 SUPPLIER S# CITY 23 NY 45 Philly 12 DC Boston 70 45 (a) Can we insert the following row of (45, 91, 300) to SUPPLY table? Why or why not? (6) (b) Draw an ERD using crowfoot notation that shows the above Product-Supply schema, and submit it as an image
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