answersLogoWhite

0

What is 3rd normal form in DBMS?

User Avatar

Anonymous

17y ago
Updated: 8/16/2019

3 NF----------------------------------------

The third normal form (3NF) is a normal form used in database normalization. 3NF was

originally defined by E.F. Codd[1] in 1971. Codd's definition states that a table is in 3NF if and

only if both of the following conditions hold:

* The table is in second normal form (2NF)

* No non-prime attribute of the table is transitively dependent on a candidate key

A non-prime attribute is an attribute that does not belong to any candidate key. A transitive

dependency is a functional dependency X → Z in which Z is not immediately dependent on X,

but rather on a third set of attributes Y which depends on X. That is, X → Z by virtue of X → Y

and Y → Z.

An alternative formulation of Codd's definition, given by Carlo Zaniolo[2] in 1982, is this: a table

is in 3NF if and only if, for each of its functional dependencies X → A, at least one of the

following conditions holds:

* X contains A, or

* X is a superkey, or

* A is a prime attribute (i.e., A is contained within a candidate key)

Zaniolo's definition has the advantage of giving a clear sense of the difference between 3NF

and the more stringent Boyce-Codd normal form (BCNF). BCNF simply eliminates the third

alternative ("A is a prime attribute").

Example

An example of a 2NF table that fails to meet the requirements of 3NF is:

Tournament Winners TABLE

Tournament Year Winner Winner Date of Birth

Indiana Invitational 1998 Al Fredrickson 21 July 1975

Cleveland Open 1999 Bob Albertson 28 September 1968

Des Moines Masters 1999 Al Fredrickson 21 July 1975

Indiana Invitational 1999 Chip Masterson 14 March 1977

The only candidate key is {Tournament, Year}.

The breach of 3NF occurs because the non-prime attribute Winner Date of Birth is transitively

dependent on {Tournament, Year} via the non-prime attribute Winner. The fact that Winner Date

of Birth is functionally dependent on Winner makes the table vulnerable to logical

inconsistencies, as there is nothing to stop the same person from being shown with different

dates of birth on different records.

In order to express the same facts without violating 3NF, it is necessary to split the table into

two:

Tournament Winners TABLE

Tournament Year Winner

Indiana Invitational 1998 Al Fredrickson

Cleveland Open 1999 Bob Albertson

Des Moines Masters 1999 Al Fredrickson

Indiana Invitational 1999 Chip Masterson

Player Dates of Birth TABLE

Player Date of Birth

Chip Masterson 14 March 1977

Al Fredrickson 21 July 1975

Bob Albertson 28 September 1968

Update anomalies cannot occur in these tables, which are both in 3NF.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is minimal normal form a relation must satisfy in dbms?

Third normal form.


Explain the first 3 normal forms in dbms?

First Normal Form: Remove the repeating groups in a table Second Normal Form: Remove partial dependencies Third Normal Form: Remove transitive depedencies


What are rows in dbms?

In DBMS the data is stored in the form of table . Each row in DBMS is known as tuple.


How many types of normal forms in DBMS?

total 6 normal forms


What is the fullform of DBMS?

The full form of DBMS is Database Management System.


What is bcnf explain with respect to dbms?

Boyce -Codd normal form which is one of the forms of dbms noramlizations.normalization is converting the relations or tables in a standard form.bcnf is based on functional dependencies that take into account all candidate keys.a relation is in bcnf if every determinant has a candidate key..:)


Like tables in rdbms in what form data is stored in dbms?

Tabular Form


Full form of tcl in dbms?

transjunction control language


What are the characteristics of DBMS?

Database management system is full form of DBMS . Characteristics of a DBMS are following : 1) It maintains data integrity. 2) It reduces redundancy. 3) make access to data easy.


What is first normal form in DBMS with example?

The first normal form or 1NF is the first and the simplest type of normalization that can be implemented in a database.The main aims of 1NF are to:Eliminate duplicative columns from the same table.Create separate tables for each group of related data and identify each row with a unique column (the primary key).


What are highlights of DBMS?

NA_ what are highlights of advanced DBMS what are highlights of advanced DBMS what are highlights of advanced DBMS


What is events in dbms?

Event refers to Action... maybe action(event) occurred in Form ....