2,055 views
6 votes
6 votes
R(ABCDEF)

AB->C

DC->AE

E->F

how to find the highest normalization of the above relation.......??

and also tell me the difference between prime attribute, non-prime attribute and candidate key with examples.....??

2 Answers

Best answer
6 votes
6 votes

Candidate keys are ABD,BCD.

A candidate key is minimal super key which uniquely identifies a relation.

There can be many superkeys and out them candidate key is selected.

ABD+ = { A,B,C,D,E,F}

BCD+ = { A,B,C,D,E,F}

Now prime attributes are the one that are present in candidate key.

Non prime attributes are E,F

Here  A,B,C,D  are Prime attributes.

FD1 : AB->C ( part of key -> prime attribute) --->3NF

FD2 : DC->AE(part of key ->nonkey) ------>1NF

FD3 : E->F (nonkey->nonkey)-------->2NF.

So highest normal form of complete Relation is 1NF.

selected by
1 votes
1 votes
Ck=ABD,BDC..

There exist Partial dependency as

xxAB->C

and DC->AE

so it will in 1NF

Related questions

2 votes
2 votes
2 answers
3
gatecrack asked Dec 10, 2018
615 views
Is minimal set of functional dependency for a functional dependency set is always unique???
0 votes
0 votes
1 answer
4
Raghav Khajuria asked Oct 5, 2018
904 views
Difference between composite and compound key??