close
Answers: 1
Explain Second Normal and Third Normal Form
Answers: 2 Views: 1129 Rating: 0 Posted: 11 years ago

 

The   Secondly  Normal Form (2NF). A relation is said to be in 2NF if it is in 1NF, and non-key attributes are functionally dependent on the key attribute(s). Further, if the key has more than one attribute then no non-key attributes should be functionally dependent upon a part of the key attributes. Consider, for example, the relation given in table  This relation is in 1NF. The key is (Order no.  Item  code). The dependency diagram for attributes of this relation is shown in figure . The non-key attribute Price/Unit is functionally dependent on Item code which is part of the relation key. Also, the non-key attribute Order date is functionally dependent on Order no. which is a part of the relation key. Thus the relation is not in 2NF. It can be transformed to 2NF by splitting it into three relations as shown in table  

In table 9.3 the relation Orders has Order no. as the key. The relation Order details  has the composite key Order no. and Item code.  

Third Normal form

The Thirdly Normal Form normalization will be needed where all attributes in a relation tuple are not functionally dependent only on the key attribute. If two non-key attributes are functionally dependent, then there will be no unnecessary duplication of data

Rating: 0 Posted: 11 years ago

Top Contributors

 
ROMOS
Answers: 39019 / Questions: 245
Karma: 2300K
 
Colleen
Answers: 90249 / Questions: 368
Karma: 2042K
 
country bumpkin
Answers: 26279 / Questions: 276
Karma: 1665K
 
Benthere
Answers: 4136 / Questions: 80
Karma: 1556K
> Top contributors chart

Answered Questions

uw99press?question_title=uw99press
Answers: 8 Views: 34 Rating: 0
Minziv Stream
Answers: 1 Views: 22 Rating: 0
Y2Mate Download
Answers: 7 Views: 56 Rating: 0
davidsolairejones
Answers: 10 Views: 63 Rating: 0
bxnhatrang
Answers: 11 Views: 70 Rating: 0
33Win
Answers: 9 Views: 87 Rating: 0
sky88how
Answers: 12 Views: 124 Rating: 0
tdtcrocks
Answers: 5 Views: 62 Rating: 0
> More questions...
466583
questions
722260
answers
785565
users