6,423 views

4 Answers

Best answer
7 7 votes

Both are true.

1. If in 3NF, a relation will not be in BCNF if and only if

  • $A \to B$, where $B$ is a prime attribute and $A$ is not a super key and $B \nsubseteq A$.

But, if there is only one candidate key, there is no possibility of a $B$ prime attribute other than the FD becoming trivial. So, the relation in 3NF must be in BCNF. 

2. R may or may not be in BCNF - Even with one candidate key, we can have partial FD (if the key is composite) and hence the relation need not be even in 2NF.

• selected by
1 1 vote
Given that table has only one C.K.,

if R is in 3NF, then for F.D. X->Y

either X is S.K (which is required for BCNF)

or Y shld have prime attributes, if this is so then then we get more than one C.Keys

Hence, R is in BCNF
• edited by
0 0 votes

Statement 1$\Rightarrow$$\mathbf{If\: R\: is\: in\: 3NF,\: It \: is\; also\; in\: BCNF}$

$\Rightarrow$If it is in 3NF,then it is no doubt in 2NF$\Rightarrow$It does not have partial dependency.

$\Rightarrow$It won't contain Partial Dependency i.e

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.

  relation Prime Attribute$\rightarrow$Non Prime Attribute.so it won't contain Prime Attribute$\rightarrow$Prime Attribute.It may contain Prime Attribute$\rightarrow$Prime Attribute.

$\Rightarrow$It won't contain Transitive dependency i.e it won't contain relation Non Key$\rightarrow$Non key.But it may contain relation Prime Attribute$\rightarrow$Prime Attribute.

Now BCNF says that if it has Functional dependency X$\rightarrow$Y,X must be a superkey.

But in Relation Prime Attribute$\rightarrow$Prime Attribute,prime Attribute is not a super key,Makes Statement1 False .

Statement 2$\Rightarrow$R may be in BCNF

$\Rightarrow$If Relation contains Prime Attribute$\rightarrow$Prime Attribute,then it is not in BCNF.

if it won't contain this relation ,it will be in BCNF,so it may/may not be in BCNF.

• edited by
0 0 votes
for 1st question:

AB->CD  D->A     ..................(AB is candidate key)D->A in 3NF but not in BCNF

for 2nd question,

A->B   B->C ......................(A is candidate key) B->C not in BCNF.
• edited by
Position:
Show:

Related questions

1 1 vote
1 1 answer
857
857 views
Jaspreet Kaur Bains asked Dec 12, 2017
857 views
Consider the following statements:1. The redundancy in the set of relation that have been arised after decomposing a relation R into BCNF is zero irrespective of the type...
7 7 votes
2 2 answers
5.7k
5.7k views
Himanshu1 asked Jan 2, 2016
5,699 views
A relation R is in 3NF if every non-prime attribute of R is fully functionally dependent on every key of RTrue/False
1 1 vote
1 1 answer
696
696 views
Akash_Banik asked Oct 28, 2024
696 views
why is prime->prime dependency doesn't violates 2nf . say table(a,b,c,d,e) and {(a,b),(d,e)} are candidates key and there is a relation from a->d. does it follow function...
4 4 votes
4 4 answers
4.4k
4.4k views
Tuhin Dutta asked May 27, 2019
4,393 views
In a relation, if every attribute is prime but key may not be simple then the relation is in ______.A. 1NFB. 2NFC. 3NFD. BCNF