- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
数据库设计范式(Database design paradigm)
数据库设计范式(Database design paradigm)
Database design paradigm
Schema outline for database design
The first paradigm
For each row in the table, you must have only unique line values. Each column in a row has only unique values and is atomic
Second normal form
The second paradigm requires that the non primary key column be a subset of the primary key, and that the non primary key column activity must depend entirely on the primary key. A primary key must have unique elements, and a primary key can consist of one or more columns that make up unique values. Once created, the primary key cannot be changed, and the foreign key relates to the primary key of a table. The main foreign key association means a one to many relationship
Third normal form
The third paradigm requires non primary key columns to be independent of each other
Fourth normal form
The fourth paradigm prohibits primary key columns and non primary key columns, and one to many relationships are not bound
Fifth normal form
The fifth paradigm divides the table into blocks that are as small as possible, in order to exclude all redundancies in the table
Relational databases are designed to conform to certain rules. In particular, the database design paradigm is a brief introduction to 1NF (first paradigm), 2NF (second paradigm), 3NF (third paradigm) and BCNF, and fourth paradigms and fifth paradigms for later introduction. When you design the database, if you can meet these paradigms, you are a master of database design.
First paradigm (1NF): in each specific relation R in relational schema R, if each attribute value is the smallest data unit that can not be subdivided, then R is called the first normal form relation. Example: if the employee number, name, phone number to form a table (a person may have an office phone and a home phone number), the specification becomes 1NF, there are three ways:
First, repeat the number and name of the worker. In this case, the keyword can only be the phone number.
Two is worker
您可能关注的文档
- 带兵典型案例剖析(Analysis of their typical case).doc
- 带着瑰丽的大学梦走在大学路上(Walking on university road with a beautiful university dream).doc
- 市民气质我为先--《华西都市报》超常规发展探秘(The public temperament me first -- Huaxidoushibao super conventional development Quest).doc
- 常用中药及其功效简表(Traditional Chinese medicine and its brief list of efficacy).doc
- 常用javascript函数释义与举例(Definitions and examples of commonly used JavaScript functions).doc
- 常用会计英语(Common accounting English).doc
- 常用塑料的品种、主要成分、性格、价格及识别方法的调查研究文库(A survey of varieties, components, characters, prices, and identification methods of plastics).doc
- 常用建筑施工标语(Common construction slogans).doc
- 常用文档的尺寸(Dimensions of commonly used documents).doc
- 常用材质调法(Common material adjustment method).doc
- 数学理科doc(Math science doc).doc
- 数据结构(专科)作业1275(Data structure (specialist) job 1275).doc
- 数据结构(本)课程作业1732(Data structure (this) course assignments 1732).doc
- 数据库 sql语句(Database SQL statement).doc
- 数据结构(本)课程作业1933(Data structure (this) course assignments 1933).doc
- 数据结构(本)课程作业258(Data structure (this) course assignments 258).doc
- 数据结构(本)课程作业325(Data structure (this) course assignments 325).doc
- 数据结构(本)课程作业3675(Data structure (this) course assignments 3675).doc
- 数据结构(本)课程作业3742(Data structure (this) course assignments 3742).doc
- 数据结构(本)课程作业6221(Data structure (this) course assignments 6221).doc
文档评论(0)