官术网_书友最值得收藏!

Second normal form (2NF)

The second normal form must satisfy all the conditions of the first normal form.
In addition, it must satisfy the condition that all non-primary key columns must be dependent on the entire primary key.

In the previous table, notice that Origin depends only on the superhero, that is, Name. It doesn't matter which Power we are talking about. So, Origin is not entirely dependent on the composite primary key — Name and Power.

Let's extract just the origin information into a separate table called Origin, as shown here:

主站蜘蛛池模板: 广宗县| 德清县| 丘北县| 新乡市| 教育| 沅陵县| 垣曲县| 津南区| 喀喇沁旗| 四子王旗| 河北区| 轮台县| 赤峰市| 杂多县| 四平市| 徐水县| 新河县| 南澳县| 金塔县| 广平县| 高要市| 楚雄市| 中超| 安多县| 张掖市| 清镇市| 繁昌县| 仙桃市| 静宁县| 额济纳旗| 贵港市| 班戈县| 永济市| 屏山县| 色达县| 武平县| 桑植县| 资兴市| 县级市| 莒南县| 牟定县|