Boyce-Codd Normal Form (BCNF)
Boyce-Codd Normal Form
是Third Normal Form
的一种扩展,因此有时候也被称为3.5范式
。
在讲BCNF之前,我们需要知道许多其他的一些概念,下面一一叙述,别怕,很简单的。
1.functional dependency(函数依赖)
它的定义如下:
if two tuples of R agree on all of the attributes A1A2A3…An(i.e., the tuples have the same values in their respective componets for each of these attributes), then they must also agree on all of another list of attributes B1B2B3…Bn. So, we write this FD formally as:
A 1 A 2 A 3 . . . A n → B 1 B 2 B 3 . . . B n − − − − − − − − − − − − − − ① A_1A_2A_3...A_n \rightarrow B_1B_2B_3...B_n-------------- ① A1A2A3...An→B1B