in Databases
1,085 views
5 votes
5 votes
Is the following type of dependencies allowed in 3NF- ?

A-->B

where A is a proper subset of CK
and    B is proper subset of another CK.
in Databases
by
1.1k views

2 Answers

3 votes
3 votes
Best answer
Yes it's in 3NF because 3NF allows those FD's X --> Y in which either :

a) X is a super key, or

b) Y is a prime attribute     //(Y is prime implies X must be prime i.e. Prime ---> Prime)

So, in the given FD, B is a prime attribute. Hence, it's in 3NF
selected by

4 Comments

ya..ryt..thanks.

it should be in 3NF

if any one condition of below is true then it is in 3NF

1. FD is trivial( for x-.y, y is proper subset of x)

2. LHS is super key

3. RHS is prime attribute

here 3rd is true hence it is in 3NF
0
0

yes (y)

0
0
can anyone tell me why is non-prime -> prime not allowed in 3NF??getting confused in this...
0
0
0 votes
0 votes
yes , its in 3Nf but not in bcnf .

3 Comments

pranay i think sould be in bbcnf also . bcnf says that if a dependecy is fron a-B then a should be the superkey . no constraint is applied on b . so it should be in bcnf also .
0
0
they use the term proper subset .

So proper subset of a CK cant be a super key , that why A cant be a SK for that its not BCNf .
1
1
ok got it . thanks
0
0

Related questions