TM351 Normalization
Consider the following report about some students in different
courses.
UNF
Student_ID Student_Name Course_Code Course_Title Course_Grade Tutor_Nme Tutor_Phone
TM351 Data Science A Dr. Hafiz 60192
100 Hasan
M251 Java B Dr. Ashraf 45869
200 Ahmad TM351 Data Science A Dr. Hafiz 60192
300 Khalid TM351 Data Science B Dr. Hafiz 60192
M251 Java A Dr. Ashraf 45869
400 Salman
TM351 Data Science B Dr. Hafiz 60192
1. Normalize the above report into 1NF, 2NF and 3NF.
2. Show the complete relations with the given data in each normal form.
3. Show the functional dependencies in each normal form
Excersie-1 The Solution Page |1
TM351 Normalization
1NF
Student_ID Student_Name Course_Code Course_Title Course_Grade Tutor_Name Tutor_Phone
100 Hasan TM351 Data Science A Hafiz 60192
100 Hasan M251 Java B Ashraf 45869
200 Ahmad TM351 Data Science A Hafiz 60192
300 Khalid TM351 Data Science B Hafiz 60192
400 Salman M251 Java A Ashraf 45869
400 Salman TM351 Data Science B Hafiz 60192
Functional Dependency (FD)
Student_ID, Course_Code Student_Name, Course_Title, Course_Grade,
Tutor_Name, Tutor_Phone
Excersie-1 The Solution Page |2
TM351 Normalization
2NF
Student_ID Course_Code Course_Grade
100 TM351 A
100 M251 B
200 TM351 A
300 TM351 B
400 M251 A
400 TM351 B
Student_ID Student_Name
100 Hasan
200 Ahmad
300 Khalid
400 Salman
Course_Code Course_Title Tutor_Name Tutor_Phone
TM351 Data Science Hafiz 60192
M251 Java Ashraf 45869
Functional Dependency (FD)
Student_ID, Course_Code Course_Grade
Excersie-1 The Solution Page |3
TM351 Normalization
Student_ID Student_Name
Course_Code Course_Title, Tutor_Name, Tutor_Phone
Excersie-1 The Solution Page |4
TM351 Normalization
3NF
Student_ID Course_Code Course_Grade
100 TM351 A
100 M251 B
200 TM351 A
300 TM351 B
400 M251 A
400 TM351 B
Student_ID Student_Name Tutor_Phone Tutor_Name
100 Hasan 60192 Hafiz
200 Ahmad 45869 Ashraf
300 Khalid
400 Salman
Course_Code Course_Title Tutor_Phone
TM351 Data Science 60192
M251 Java 45869
Functional Dependency (FD)
Student_ID, Course_Code Course_Grade
Excersie-1 The Solution Page |5
TM351 Normalization
Student_ID Student_Name
Course_Code Course_Title, Tutor_Phone
Tutor_Phone Tutor_Name,
Excersie-1 The Solution Page |6