- Django Design Patterns and Best Practices
- Arun Ravindran
- 86字
- 2021-06-25 21:32:06
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:

推薦閱讀
- Facebook Application Development with Graph API Cookbook
- OpenCV實例精解
- Learning Data Mining with Python
- Java 9 Programming Blueprints
- FreeSWITCH 1.6 Cookbook
- SQL for Data Analytics
- Web開發的貴族:ASP.NET 3.5+SQL Server 2008
- GeoServer Beginner's Guide(Second Edition)
- JavaScript:Moving to ES2015
- 可解釋機器學習:模型、方法與實踐
- Python忍者秘籍
- Yii Project Blueprints
- OpenGL Data Visualization Cookbook
- 持續輕量級Java EE開發:編寫可測試的代碼
- MySQL入門很輕松(微課超值版)