1.1NF indicates that each variable in the link cannot be further divided into 2.2NF indicates 1NF, for example (S #, C #) p-SN, (S #, C #) for p-SD, S #-SD, the SD part depends on the candidate key, instead of 2NF, it can only be 1NF; it is decomposed into SC (S #, C #, g) and S_SD (S #, SN, SD, DEAN) are 2NF3. BCNF refers to elimination
1. 1NF indicates that every variable in the link cannot be divided into 2. 2NF indicates the 1NF that eliminates the dependence of some non-primary attribute pairs (candidate key), for example (S #, C #) p-SN, (S #, C #) p-SD, S #-SD, so the SD part depends on the candidate key, instead of 2NF, it can only be 1NF; it is decomposed into SC (S #, C #, G) and S_SD (S #, SN, SD, DEAN) are 2NF 3. BCNF refers to elimination
1. 1NF indicates that each variable in the link cannot be further divided.
2. 2NF indicates the 1NF that eliminates part of the non-master attribute pair code (candidate key) dependency.
For example, if (S #, C #) p-> SN, (S #, C #) p-> SD, S #-> SD, the SD part depends on the candidate key, not 2NF, it can only be 1NF. It is decomposed into SC (S #, C #, G) and S_SD (S #, SN, SD, DEAN) as 2NF.
3. BCNF indicates the 2NF that eliminates the dependency 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 # is partly dependent on (S #, T #), so it is not BCNF; it can be divided:
(S #, T #), (T #, C #) two tables
4. 3NF indicates the BCNF that eliminates the transfer dependency.
For example, S #-> SD, SD-> DEAN is not 3NF. Because DEAN transmission depends on S #, it can be divided into STUDENT (S #, SN, SD) and DEPT (SD, DEAN)
4. 4NF indicates 3NF that eliminates multi-value dependencies.
For example:
The original primary keys are (C #, T #, B #), which are divided into (C #, T #) and (C #, B #)