3 votes 3 votes { (Eid, pno) --> hours, Eid --> Ename, Pno --> (Pname, Plocation), Pname --> Plocation } in a relation R (Eid, Pno, hours, Ename, Pname, Plocation). After decomposition, the relation R1 (Pno, Pname, Plocation) is in __ BCNF 3NF but not in BCNF 1NF Please answer with an explaination. Databases database-normalization databases + – Warlock lord asked Aug 29, 2017 Warlock lord 563 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Shubhanshu commented Aug 29, 2017 reply Follow Share is it 1?? 0 votes 0 votes Warlock lord commented Aug 29, 2017 reply Follow Share That's what I thought too. But the answer seems to be 3. 0 votes 0 votes Shubhanshu commented Aug 29, 2017 reply Follow Share The key is {EID, Pno} together, After decomposition the relation will be R1(Eid,Pno, Hours) R2(Eid, Ename) R3(Pno, Pname, Plocation) R4(Pname, Plocation) Decomosition is Lossless and Dependencies are preserved. Then it should be In BCNF. ANd Also R3(Pno, Pname, Plocation) is also now in BCNF. 0 votes 0 votes joshi_nitish commented Aug 29, 2017 reply Follow Share @Shubhanshu it is only in 2NF, not even in 3NF for, R1 (Pno, Pname, Plocation), functional dependency acting are {Pno -->(Pname, Plocation), Pname --> Plocation } clearly only candidate key for R1 is Pno, now it is in 2NF(no partial dependecy) but not in 3NF because, here in, Pname --> Plocation(nonkey--->non_prime) which is voilating 3NF. 2 votes 2 votes Please log in or register to add a comment.
0 votes 0 votes anss shashi jha answered Aug 31, 2017 shashi jha comment Share Follow See all 0 reply Please log in or register to add a comment.