About Normalization



O
Types of Normalization

when
a table is decomposed into two dimensional tables
with
all repeating groups of data eliminated the table data
is
said to be in its first normal form.
- A table is in 1st normal form if
1>
There are no repeating groups.
2>
All the key attributes are defined.
3>
All attributes are dependent on a primary key.
Exmple:-
Emp
table
Field
|
Key
|
Project no
|
--
|
Projectname
|
--
|
Empno
|
--
|
empname
|
--
|
Rate category
|
--
|
Hourly rate
|
--
|
First
normalization
Field
|
Key
|
Project no
|
Primary key
|
Projectname
|
--
|
Empno
|
Primary key
|
empname
|
--
|
Rate
|
--
|
Second
Normalization

Field
|
Key
|
Projectno
|
Primary key
|
Empno
|
Primary key
|

Field
|
Key
|
Empno
|
Primary key
|
empname
|
--
|
Rate category
|
--
|
Hourly rate
|
--
|

Field
|
Key
|
Project no
|
Primary key
|
Projectname
|
--
|
Third
Normalization

Field
|
Key
|
Projectno
|
Primary key
|
Empno
|
Primary key
|

Field
|
Key
|
Empno
|
Primary key
|
empname
|
--
|
Rate
|
--
|

Field
|
Key
|
Rate category
|
Primary key
|
Hourly rate
|
--
|

Field
|
Key
|
Project no
|
Primary key
|
Projectname
|
--
|
About Normalization
Reviewed by Unknown
on
7:16:00 AM
Rating:

No comments: