4 Paradigm problems with database schemas.

Source: Internet
Author: User

has a relationship R (s,d,m), whose function depends on set f={s→d,d→m}. Then the relationship R satisfies
______。 [American famous search engine company face question]

A. 1NF
B. 2NF
C. 3NF
D. BCNF
Analysis: 4 paradigm Problems of database schema.
1NF: First paradigm. If each value in the domain of all properties of the relational mode R is a non-re-decomposed value,
is called R belongs to the first paradigm pattern. If a database schema is in the first paradigm, it is said that the database schema is part of the
a paradigm of the database schema.
the pattern of the first paradigm requires that the attribute value be no longer split into smaller parts, that is, attribute items cannot be attribute combinations or belong to a group
sexual composition.
2NF: Second paradigm. If the relationship pattern R is the first paradigm, and each of the non-primary properties in R has a full function dependent on
a candidate key for R, which is called R as the second normal pattern. If each relational pattern in a database schema is a second
, the database schema belongs to the second paradigm of the database schema. (Note: If A is a candidate key for Relationship mode R
Is called A is the main property of R, otherwise a is a non-primary property of R. )
3NF: The third paradigm. If the relationship pattern R is the second paradigm, and each non-principal attribute does not pass a candidate that relies on R
Key, then R is the pattern of the third paradigm. If each relational pattern in a database schema is a third paradigm, it is said
R is a 3NF database schema.
BCNF:BC paradigm. If the relationship pattern R is the first paradigm, and each property does not pass a candidate key that relies on R,
so called R is the bcnf pattern.
4NF: The fourth paradigm. Set R is a relational pattern and D is a multivalued dependent collection on R. If a non-trivial form of D
when multi-valued dependent x→→y, x must be a super-key of R, then called R is the mode of the fourth paradigm.
the title belongs to transitive dependency, so it satisfies the second normal form at most.
Answer: B

4 Paradigm problems with database schemas.

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.