close
    Explain Second Normal and Third Normal Form

    Explain Second Normal and Third Normal Form


     


     

    0  Views: 1068 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

    nohu90comcom
    Answers: 0 Views: 5 Rating: 0
    tylekeonhacaicasino
    Answers: 0 Views: 9 Rating: 0
    tylekeonhacaicasino
    Answers: 0 Views: 7 Rating: 0
    68gb
    Answers: 0 Views: 14 Rating: 0
    68gb
    Answers: 0 Views: 6 Rating: 0
    Nhà Cái EE88 Trang Chủ Chính Thức
    Answers: 0 Views: 13 Rating: 0
    m88ren
    Answers: 0 Views: 6 Rating: 0
    > More questions...
    452458
    questions
    719775
    answers
    754763
    users