Database Assignment 4
Database Assignment 4
Database Assignment 4
Name M Nadeem
Reg No FA20-BSE-035
Subject Database
Vehari Campus
@@@@@@@@@@@@@@@@@@@@@@
1 NF
Partial dependency:
When there are two or more
primary key in table.
Student
Subject
Sub_id Sub_name
1 Eng
2 Urdu
1 math
Score_id Stud_id Sub_id marks teachers
101 201 1 20 Shafiq
102 202 2 80 Hasan
103 203 1 20 abid
3NF
Score
Exame
Exame_id Exame_name Total_marks
1 Mid 20
2 Final 80
3 mid 20