Consider relation SUPPLY (S#, Sname, P#, Qty) with supplier names unique such that: F: fd1: S#

Question:

Consider relation SUPPLY (S#, Sname, P#, Qty) with supplier names unique such that:
F: fd1: S#  Sname; fd2: Sname  S#; {S#, P#}  Qty
S# represents a supplier number, Sname represents a supplier name, P# represents a part number, and Qty represents the quantity of a specific part supplied by a specific supplier.
Consider relation SUPPLY (S#, Sname, P#, Qty) with supplier names

a. Is there a 3NF violation in SUPPLY? If yes, explain. If no, is there a BCNF violation in SUPPLY? Explain.
b. Decompose SUPPLY if necessary so that the resulting relational schema is in BCNF. Is your design attribute-preserving, dependency-preserving, and a lossless-join decomposition? Explain.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Data Modeling and Database Design

ISBN: 978-1285085258

2nd edition

Authors: Narayan S. Umanath, Richard W. Scammel

Question Posted: