3 votes 3 votes Consider the relation schema R(A,B,C), which has the FD B → C. If A is a candidate key for R, is it possible for R to be in BCNF? If so, under what conditions? If not, explain why not. gabbar asked Oct 12, 2016 • edited Oct 12, 2016 by Prashant. gabbar 1.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 5 votes 5 votes Let FD is given like this X----> Y Only condition required for BCNF is X should be Super key of Relation. Here B---> C is given and A is candidate key . For BCNF relation B should also be key. Digvijay Pandey answered Oct 12, 2016 • selected Oct 31, 2016 by Sanjay Sharma Digvijay Pandey comment Share Follow See 1 comment See all 1 1 comment reply gabbar commented Oct 12, 2016 reply Follow Share Thnx 0 votes 0 votes Please log in or register to add a comment.
2 votes 2 votes If A is the candidate key for the given relation then the non trivial dependency that will be implied is : A --> BC as we know candidate key is a key that uniquely identifies a tuples hence determines all attributes value So prime attribute : A Non prime attribute : {B,C} And given we have other dependency : B --> C So since B is not a superkey (not even a candidate key , as it does not determine all attributes), the given relation is not in BCNF since for BCNF we require that every determinant (left hand side of FD) must be a superkey which is not the case here. A superkey is nothing but superset of candidate key (or) we can say candidate key is the minimal superkey. Habibkhan answered Oct 12, 2016 Habibkhan comment Share Follow See 1 comment See all 1 1 comment reply gabbar commented Oct 12, 2016 reply Follow Share Thnx dada 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes Relation R is not in BCNF. A is not present in left side of FD B->C. For BCNF, left side of each FD must have super key. amitlko answered Oct 12, 2016 amitlko comment Share Follow See all 0 reply Please log in or register to add a comment.