Professional Documents
Culture Documents
Introduction To Normalization
Introduction To Normalization
Introduction to Normalization
Database Normalization is the process of restricting a relational database in
accordance with a series of so called normal forms in order to reduce data
redundancy and improve data integrity. It was first proposed by Edgar F. Codd as
an integral part of his relational model.
Patient Physical info and patient address are not specified here because of spaces
to add the column.
The First solution for this is write these values in different rows as follows:-
Note Here D_id is no longer unique in this solution with duplicated Doctors. For
this duplication there is a solution to represent a new table for patient like:-
The name column of Patient(P_name) can be devided into two they are patient
first name and patient last name as follows:-
P_id P_Fname P_Lname P_status P_Pysical_info P_address P_DOB
P098 Ayele Hayle Low 53.1, 1.68, A+ Oromia, shewa, Adama 23/06/1992
P132 Demsew Temesgen Medium 61.4, 1.78, AB Oromia, shewa, Wenji 11/09/1986
P279 Alemu Demeke Medium 60.8, 1.62, O Oromia, shewa, Awash 01/04/1990
P005 Mebratu Urgessa High 59.2, 1.55, B+ Oromia, shewa, b 21/12/1996
P211 Reshid Mohamed High 70.2, 1.78, B Oromia, shew, am 12/02/1993
For Doctor table the primary key is supposed to be Doctor id(D_id) and in Patient
table the primary key is supposed to be Patient id(P_id).
In the design if we specify the doctor Full name(D_Fname and D_Lname) patient
is dependent on specific Doctor id(D_id)
Let us make the patient table in second normal from by integrating with their id
and Doctor id :-