Consider the following relational schemas for a library database :
Show answerHide answer
Correct answer: (C) Book is in 2NF and Collection in 3 NF.
Explanation
2NF says that all the non-key attributes should depend the keys, partial dependency (an attribute is defined by a part of a composite key) is not allowed 3NF says that any dependency between non-key attribute should be cleared. BCNF says that all determinants in a table is key for every non trivial (no overlapping attributes) function. In the table book, (Title Author) identifies catalog-no. Which if turn identifies publisher and year further (publisher, Title, Year) identifies price. Now here the dependents are partially dependent on the key attributes on left hand side of (R). So the table book is in 2NF. In the table collection, (Title, Author) determines catalog-no., the only non-key attribute. So it is in 3NF as well as BCNF.