- 1、本文档共21页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
五范式(Five normal form)
五范式(Five normal form)
Detailed database paradigms: the third paradigm and the fifth paradigm, 2009, 01, Friday, 16, 8:53 A.M.1NF: a column in table is not divisible (i.e., atomicity of columns)
2NF: a line in table is uniquely marked (that is, rows in table cannot be duplicated)
3NF: does a column in table not depend on a column that is not a primary key in another table, or is it not popular?! Great cold!!
For example: there is a department of table, we call it tbl_department, it has so few columns (dept_id (PK), dept_name, dept_memo...)
There is a staff table, we call it tbl_employee, in this table there is a column of dept_id (FK) describes information about the Department, if tbl_employee to meet 3NF,
In tbl_employee, there are no other columns of information about the dept_id column!
The design of a general database satisfies 3NF! (personally think it should be possible to meet the 3NF statements of a school, ^_^)
BCNF: BCNF is generally considered to be the revised third paradigm, which is further than 3NF!
4NF:
5NF: divide a table into smaller chunks as much as possible to exclude all redundant data in the table
Paradigm introduction
To answer these questions, it is important to understand the difference between 3NF, BCNF, 4NF, and 5NF. The following is an exact definition of each paradigm.
First paradigm (1NF)
Each table must have a primary key, that is, the minimum set of attributes, which correspond to each record one by one. By properly defining key attributes and non key attributes, duplicate groups are deleted (different records seem to require different repetitions of data types). Note: each property must contain a single value, not a set of values.
The second paradigm (2NF)
The database must meet all the requirements of 1NF. In addition, if a table has a compound key, all attributes must be associated with the entire key. Also, between rows of tables, redundant duplicate data is moved in a separate table.
The third paradigm (3NF)
The data stored in th
您可能关注的文档
- 严格管理 ≠ 制度严格(Strict management and strict system).doc
- 严蔚敏 数据结构第十章 内部排序的具体代码(c++,附测试数据)(Yan Yumin data structure of the tenth chapter of the internal sorting of the specific code (c++, attached to test data)).doc
- 严重影响电脑反应速度的八大不良习惯,看看你是否都犯了(The eight bad habits that seriously affect the speed of computer reaction and see if you've made any mistakes).doc
- 个个都优秀,管理谁该得绣球(Everyone is outstanding, management who should get Hydrangea).doc
- 个人住房贷款全攻略(Individual housing loans Raiders).doc
- 个人云计算全解析(免费下栽)(Full resolution of personal cloud computing (free drop)).doc
- 个人图书管理系统。数据结构课程设计(Personal library management system. Data structure course design).doc
- 个人客户经理(Personal account manager).doc
- 个人所得税法管理修正案草案月底将再审(The management of personal income tax law of the amendment, the end of the month will be a retrial).doc
- 个人电脑用户的九大安全防范策略(Nine security prevention strategies for PC users).doc
- 2015-2016学年山东省菏泽市定陶县九年级(下)期中化学试卷 .pdf
- 2019-2020年七年级语文上册第三单元10再塑生命的人课后作业习题新人教.pdf
- 2018年怎么写研发费用中材料自查报告-实用word文档 (6页) .pdf
- 2021高校实验室安全考试-高校实验室安全考试试题七(精选试题).pdf
- 2019-2020年高中美术 第8课新的探索──现代绘画、雕塑和工业设计教案.pdf
- 2019年三年级数学上册五解决问题的策略教案苏教版 .pdf
- 2016年度出版专业职业资格考试中级基础知识(第七章) .pdf
- 2019-对数函数评课稿-范文 (10页) .pdf
- 2019-2020年高一上学期期末试卷(数学) .pdf
- 2019年中级经济师《工商管理》试题及答案(卷三) .pdf
文档评论(0)