Professional Documents
Culture Documents
Normalization
Normalization
Cost Days Type Vedio_Name Vedio City Phone Customer Customer_ID Date Receipt
_ID _Name
3.00 1 N Al-Resalah 325 Makkah 45678932 Ali 226 9/1/2008 1000
2.50 2 H Salah Addein 548 Makkah 45678932 Ali 226 9/1/2008 1000
2.50 2 H Haron AL- 6437 Makkah 45678932 Ali 226 9/1/2008 1000
Rashed
3.00 1 N Al-Resalah 325 Jeddah 7654321 Omar 224 9/4/2008 1001
2.50 2 H Haron AL- 6437 Jeddah 7654321 Omar 224 9/4/2008 1001
Rashed
3.00 1 N Islam Today 468 Makkah 45678932 Ali 226 10/2/2008 1002
Table 1
Cost Days Type Vedio_Name Vedio _ID Receipt
Table 2
Connection between table 1 & table 2?
Table 3
Vedio_ID Receipt
325 1000
548 1000
6437 1000
325 1001
6437 1001
468 1002
Table 4
* To get 3NF (First Step – From table1) ---[ Table5,Table6]
• Table1 ( Receipt, Date, Customer_ID, Customer_Name, Phone,City)
• Customer_ID -----[Customer_Name, Phone,City].
City Phone Customer_Nam Customer_ID
e
Makkah 45678932 Ali 226
Table 5
Customer_ID Date Receipt
Table 6
• (Second Step – From table3)
Vedio_ID ---[Vedio_Nmae]
Vedio_ID---[Type]
Type---[Days,cost]
From table3 :- Table7, Table8
Type Vedio_Name Vedio_ID
N Al-Resalah 325
Table 7
Type Cost Days
N 3.00 1
H 2.50 2
Table 8