Design paradigm of relational databases and database design paradigm

Source: Internet
Author: User

Design paradigm of relational databases and database design paradigm

1. 1NF)
The first paradigm is the basis of the second and third paradigm and the most basic paradigm. databases that do not meet the first paradigm are not relational databases.
Guiding principles of the first paradigm:
1) Each attribute of a Data Group can only contain one value.
2) Each array in the link must contain the same number of values.
3) Each array in the link must not be the same.

2. 2NF)
The second paradigm requires that the attributes of an object fully depend on the primary keyword, that is, there cannot be attributes that only depend on a part of the primary keyword,
If this attribute exists, this part of the primary keyword should be separated to form a new object. The new object and the original object are in a one-to-multiple relationship.

3. Third Paradigm (3NF)
The third paradigm requires that the relational table does not have a function dependency on any candidate keyword columns. That is to say, the third paradigm requires that a relational table does not contain non-primary keywords already contained in other tables.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.