1 1 vote Assume 2 relational schemas R1(ABCDEF) and R2(ABC) with following FD’s {AB→C,C→ABDE,DAE→F} Which of the following statements is true? Both R1 and R2 are in BCNF Both R1 and R2 are in 3NF only R1 is in 2NF and R2 in 3NF Both R1 and R2 are in 2NF only Databases + – Shashank Chandekar 1.1k views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply Anusha Motamarri commented Sep 29, 2016 reply Follow flag is A subset of some candidate key? post the complete question if possible 0 0 replyShare Anusha Motamarri commented Sep 29, 2016 reply Follow flag no, i think DAE-->F is not partial dependency. LHS is not subset of candidate key. partial dependency shud contain non-prime attribute depending on part of CK. but here F is not dependent on A alone. 0 0 replyShare Anusha Motamarri commented Sep 29, 2016 reply Follow flag according to me R1 is in 3nf, R2 in BCNF 0 0 replyShare Please log in or register to add a comment.
2 2 votes Option 3 is correct in R1(ABCDEF) FDs are AB->C C->ABDE DAE->F in R1 candidate key are {AB,C} so there is no partial dependency so it is 2NF it can't be in 3NF due to DAE->F in R2(ABC) FDs AB->C and AB is key so it is in 3NF Shubham Pandey 2 answered Sep 29, 2016 • edited Sep 29, 2016 by Shubham Pandey 2 Shubham Pandey 2 comment Share Follow See all 2 Comments 2 2 Comments reply Shashank Chandekar commented Sep 29, 2016 reply Follow flag DAE->F 'A' prime attribute and part of the candidate key and 'F' non-prime attribute. Is it not the partial dependency? 0 0 replyShare Shubham Pandey 2 commented Sep 29, 2016 reply Follow flag A functional dependency X → Y is a full functional dependency if removal of any attribute A from X means that the dependency does not hold any more; that is, for any attribute A ε X, (X – {A}) does not functionally determine Y. A functional dependency X → Y is a partial dependency if some attribute A ε X can be removed from X and the dependency still holds; that is, for some A ε X, (X – {A}) → Y. The definition of 2NF involves full functional dependency of non-key attributes on keys but any functional dependecy that holds is either full or partial. -- FUNDAMENTALS OF Database Systems SIXTH EDITION Ramez Elmasri & Navathe 1 1 replyShare Please log in or register to add a comment.