close
    Explain Second Normal and Third Normal Form

    Explain Second Normal and Third Normal Form


     


     

    0  Views: 1069 Answers: 2 Posted: 10 years ago

    2 Answers

    Hope this helps >http://edn.embarcadero.com/article/25209

     


    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



    Top contributors in Uncategorized category

     
    ROMOS
    Answers: 18061 / Questions: 154
    Karma: 1101K
     
    Colleen
    Answers: 47270 / Questions: 115
    Karma: 953K
     
    country bumpkin
    Answers: 11322 / Questions: 160
    Karma: 838K
     
    Benthere
    Answers: 2392 / Questions: 30
    Karma: 760K
    > Top contributors chart

    Unanswered Questions

    1thabetbiz
    Answers: 0 Views: 3 Rating: 0
    33winshow
    Answers: 0 Views: 5 Rating: 0
    okchoi68
    Answers: 0 Views: 12 Rating: 0
    Cẩm Nang Du Lịch
    Answers: 0 Views: 13 Rating: 0
    8US - Trang Chủ Tải App 8US CLUB | 8US Game
    Answers: 0 Views: 12 Rating: 0
    8US - Trang Chủ Tải App 8US CLUB | 8US Game
    Answers: 0 Views: 11 Rating: 0
    > More questions...
    452970
    questions
    719994
    answers
    757264
    users