5,955 views
4 votes
4 votes
R always in "3NF" but "may not BCNF"

T/F and why?

5 Answers

7 votes
7 votes

It took me a minute to come to conclusion but statement is TRUE because

consider this : AB -> CD

                           AC->BD

                          D -> A

prime attribute:{ A,B,C,D} // Since candidate keys are AB, AC, CD

All attributes here are prime!! 

​​​​​​but due to D->A table is in 3NF but not BCNF since 'D' is proper subset of candidate key not the super key. 

1 votes
1 votes
If a relation is in BCNF , it will definately also in 3NF, however reverse is not true as BCNF is not subset of 3NF
0 votes
0 votes
As per the definition of BCNF says that LHS should be Super key and RHS could be anything, but they mentioned that R have only prime attributes, So in BCNF prime attribute need not be Super key or determined all the attributes of the relation. It could be 3 NF but can't in BCNF.
0 votes
0 votes

the answer is true

rules for 3NF:

for a non-trivial dependency x --> y on a relation R

1)x is a super key

2)or y is a prime attribute

rules for BCNF

for a non-trivial dependency x --> y on a relation R

x must be a super key

from thsi we can conclude that BCNF is a subset  of 3NF

thus every BCNF is in 3NF, but every 3NF may not be BCNF,

because if a 3Nf just satisfies the 2nd rule it will not be in BCNF

 

Related questions

1 votes
1 votes
1 answer
1
srestha asked Apr 11, 2018
1,550 views
$AB\rightarrow CD$$CD\rightarrow AB$$A\rightarrow C$Is it in 3NF or BCNF?Is prime attribute - prime attribute dependency is there in BCNF?
2 votes
2 votes
3 answers
3
Keith Kr asked Oct 19, 2014
1,019 views
A relation R with 5 attributes A1, A2, A3, A4, A5. Given the following FDsA1 → A2A2A3 → A5A4A5 → A1Find the number of candidates keys that includes attribute A3