Question

Consider the relation concerning refrigerators Ref (Model#, Year, Price, Manuf_Plant, Color) and the following set of...

Consider the relation concerning refrigerators Ref (Model#, Year, Price, Manuf_Plant, Color) and the following set of functional dependencies: Model# → Manuf_Plant Model#, Year → Price Manuf_Plant → Color

(i) Evaluate each of the following as a candidate key for Ref, giving reasons why it can or cannot be a candidate key: {Model#}, {Model#, Year}, {Model#, Color}.

(ii) Based on the result of (i) above, determine whether the relation Ref is in 3NF and in BCNF. You should justify your answers.

(iii) Consider the decomposition of Ref into R1 (Model#, Year, Price) R2 (Model#, Manuf_Plant, Color) Determine whether this is a lossless decomposition. You should justify your answers.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

(1) candidate key of relation Ref={model # year} BCNF def: A relation is in BCNF Gf Bou every non-trivial FD X7A ,x is a supDecomposition of Ref into RI (Model # year, price) R2 (model #, Manuf-plant, color) To check for lossless join decompositionRelation Ref (Model #, year, price , Manub-plant, colon) For care : Model # Manuf-plant Model # year price Manuf plant color

Relation Ref (Model #, year, price , Manub-plant, colon) For care : Model # Manuf-plant Model # year price Manuf plant color A candidate key of a relation is a minimal Superkey for that relation. Superkey is defined as a set of attributes of a relation schema upon which all attributes of the scheman are functionally dependent. model #} is not a candidate key since it is not a superkey. smodel #, year} is a candidate key according to defen {model #, color} is not a candidate key since it o is not a superkey are every attributes of this relation not depend on this ck.

Add a comment
Know the answer?
Add Answer to:
Consider the relation concerning refrigerators Ref (Model#, Year, Price, Manuf_Plant, Color) and the following set of...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT