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

First normal form (1NF)

To conform to the first normal form, a table must have:

  • No attribute (cell) with multiple values
  • A primary key defined as a single column or a set of columns (composite key)

Let's try to convert our spreadsheet into a database table. Evidently, our Power column breaks the first rule.

The updated table here satisfies the first normal form. The primary key (marked with a *) is a combination of Name and Power, which should be unique for each row:

主站蜘蛛池模板: 临泽县| 西平县| 繁峙县| 昌江| 湘潭县| 寻乌县| 长垣县| 平果县| 时尚| 德惠市| 沈阳市| 佳木斯市| 蕉岭县| 大同县| 固镇县| 武宣县| 嘉祥县| 拜泉县| 黄陵县| 汕头市| 独山县| 临海市| 焦作市| 宁波市| 疏附县| 石泉县| 屏东县| 淮阳县| 西乌| 冷水江市| 孟州市| 遵义市| 镇康县| 越西县| 赤水市| 凤凰县| 宜春市| 昌乐县| 青岛市| 东阳市| 福建省|