Professional Documents
Culture Documents
Normalization
Normalization
Student Table
3. 3NF (Third Normal Form
A database table is said to be in 3NF if it is in 2NF and all non-keys fields
should be dependent on primary key or We can also say a table to be in 3NF if it is
in 2NF and no fields of the table are transitively functionally dependent on the
primary key. The process of converting the table into 3NF is as follows:
1.Remove the transitive dependencies(A type of functional dependency where a
field is functionally dependent on the Field that is not the primary key. Hence its
value is determined, indirectly by the primary key )
2.Make a separate table for transitive dependent Field.
3NF of above 2NF tables is as follows: Salutation Table
Course Table
Std_id Name Last name Age Address SAL_ID Salutation
STD-1 Ali Khan 25 Peshawar C_id Course Teacher SAL_ID SAL100 Dr
SAL100 SAL112 Ast-prof
STD-2 Salim Jan 30 Charsada C11 Java Kamran
STD-3 Imran Jamal 50 Mardan C12 C++ Shahid SAL12
SAL100
Student Table C13 PHP Asfandyar