901 views
0 votes
0 votes

I am getting Collection is in BCNF so it is in 3NF but for BOOK relation there is Partial dependency.So how option C is TRUE? 

1 Answer

2 votes
2 votes
Just go with the basic defenition of 3NF and 2NF.Now consider the relation book and the dependencies on it.Lets mention the dependencies on it.

All the 3 dependencies given in the question holds for book relation.So we have {author,title} as the key so author and title as the prime attributes and from 2nd dependency,

catalog --> author, title so catalog is also a candidate key and hence a prime attribute

So the remaining attributes are non prime.

Now it is not in BCNF since all determinants are not keys.

For 3NF , if we see the 3rd dependency ,neither {publisher,title,year} is a key nor price is a prime attribute.And this dependency is in the book relation.Hence the book relation is not in 3NF.

But you can see that none of lhs part(determinant) of the 3 FDs in LHS is proper subset of {author,title} .Hence no partial dependency exists and hence the book relation is in 2NF.

Hence C) option is true.

Related questions