First page Back Continue Last page Overview Graphics
Normal Forms
A functional dependency, denoted by X -> Y between two sets of attributes X and Y that are subsets of R specifies a constraint on the possible tuples that can form a relation state r of R.The constraint is that, for any two tuples t1 and t2 in r that have t1[X] = t2[Y], we must also have t1[Y] = t2[Y].
There are 6-7 normal forms considered in database theory.
However, in practice, only the first three are generally taken into account
1st Normal Form : The only attribute values permitted by 1NF are single atomic (or indivisible ) values
2nd Normal Form : A relation schema R is in 2NF if every nonprime attribute A in R is fully functionally dependent on the primary key of R.
3rd Normal Form : A realtion schem R is in 3NF if it satisfies 2NF and no nonprime attribute of R is transitively dependent on the primary key.
These normal forms are useful in maintaining the semantics of schemas and help in avoiding incorrect updates. However, these may cause splitting of tables. Also, the addition of functional dependencies may cause more changes to be made.