Determination and decomposition of Paradigm

Source: Internet
Author: User

Project No., material no., start date, completion date, price

P1 11 4 9805 9902 250

P1 12 6 9805 9902 300

P1 13 15 9805 9902 180

P2 11 6 9811 9912 250

P2 1418 9811 9912 350

For example, the relational r is the nth paradigm? Is there an operation exception? If yes
, Then it is divided into high-level paradigm. Is it possible to break down the completed high-level paradigm?
Avoid operation exceptions in the relationship before decomposition?

 

No keyword is written. Let's just think that the keyword is a project number + material number.
Let me try to answer:

1nf is satisfied, and 2nf is not satisfied: non-primary keywords are not partially dependent on primary keywords.
The operation exception is insert exception and delete exception.

Break down to 2nf (the keyword in brackets ):

(Project No.) Commencement Date completion date
P1 9805 9902
P2 9811 9912

(Project No., material no.) quantity and price
P1 11 4 250
P1 12 6 300
P1 13 15 180
P2 11 6 250
P2 14 18 350

The above does not meet the 3nf definition: "non-primary keywords do not pass dependencies"
Decomposed into 3nf (the keyword in brackets ):

(Project No.) Commencement Date completion date
P1 9805 9902
P2 9811 9912

(Project No., material no.) Quantity
P1 11 4
P1 12 6
P1 13 15
P2 11 6
P2 14 18

(Quantity of material numbers) price
11 4 250
12 6 300
13 15 180
11 6 250
14 18 350

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.