Database Paradigm Summary 1NF 2NF BCNF 3NF 4NF DB Normal form

Source: Internet
Author: User

1.1NF means that each variable in the relationship is not re-divided

2.2NF refers to a partially dependent 1NF elimination of the non-primary attribute pair code (candidate key)

For example (s#,c#), SN, (s#,c#), SD. S#->SD so the SD part depends on the candidate key, not 2NF, only can be 1NF; decomposition to SC (s#, C #, G) and S_SD (S#,sn,sd,dean) is 2NF

3. Bcnf refers to the 2NF which eliminates the partial dependence of the main attribute pair code (candidate key)

For example (s#,c#)->t#, t#->c# is not bcnf. Because candidate is (s#,t#), (s#,c#), the main attribute C # part relies on (s#,t#), so it is not bcnf. Can be decomposed into:

(s#,t#), (t#,c#) two sheets

4.3NF refers to the elimination of transfer-dependent BCNF

For example S#->SD, Sd->dean is not 3NF, because DEAN transmission relies on s#, can be decomposed into student (S#,SN,SD) and dept (Sd,dean)

4.4NF refers to the elimination of the multi-valued dependence of 3NF

Like what:

His original primary key is (c#,t#,b#), decomposed into (c#,t#) and (c#,b#)



COMMENTS:SN = Student Name, SD = Student Department, t# = the # of teacher


Database Paradigm Summary 1NF 2NF BCNF 3NF 4NF DB Normal form

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.