close
    Explain Second Normal and Third Normal Form

    Explain Second Normal and Third Normal Form


     


     

    0  Views: 1134 Answers: 2 Posted: 11 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: 47269 / Questions: 115
    Karma: 953K
     
    country bumpkin
    Answers: 11322 / Questions: 160
    Karma: 838K
     
    Benthere
    Answers: 2392 / Questions: 30
    Karma: 760K
    > Top contributors chart

    Unanswered Questions

    Toronto Window Cleaners
    Answers: 0 Views: 7 Rating: 0
    ok9ee
    Answers: 0 Views: 10 Rating: 0
    leo88vninfo
    Answers: 0 Views: 13 Rating: 0
    bit789store1
    Answers: 0 Views: 11 Rating: 0
    33WIN
    Answers: 0 Views: 13 Rating: 0
    Link Trang Chủ Kubet
    Answers: 0 Views: 13 Rating: 0
    Chuyên ngành Dược sĩ
    Answers: 0 Views: 13 Rating: 0
    > More questions...
    470249
    questions
    722740
    answers
    792023
    users