Professional Documents
Culture Documents
Assignment No. 01
Deadline date:
Your assignment must be uploaded/submitted before or on 26-11-2005
Assignment Topic:
The topic of the assignment is normalization
Uploading instructions
Please view the assignment submission process document provided to you by the Virtual
University to upload the assignment.
Objective
o To learn, understand and practice normalization using the normal forms 1NF, 2NF and
3NF.
o To think more about good and bad design decisions in database design.
Assignment
Virtual University of Pakistan
1 of 2
Data warehousing
Design a normalized database for employees of ABC Corporation. One non-normalized way
to represent this data is with the following single table with given fields. Working/regular day of
the ABC Corporation is of 8 hours. If an employee works for more than 8 hours, it is
considered his overtime. Wages of overtime is twice of the regular time.
Hint: Comma separates the street no. and street name in Street Address field. Same is the case
with Name field, in which comma separates first name and second name of the employee.
The sample records are as follows:
Employee_ABC
Street
Address
1415,
Hanif
Street
1415,
Hanif
Street
1515,
Alamghir
Street
1615,
Kamran
Steet
1515,
Alamghir
Street
2345,
Ahmad
Street
2345,
Ahmad
Street
1715,
Imran
Street
Zip
Name
39500 Khalil,
Ahmad
Dept01
Spinning
Hours
Overtime Salary EmpNo
Worked
12/10/2003 10
2
50,00 Emp01
39500 Khalil,
Ahmad
Dept01
Spinning
12/11/2003 9
45,00
Emp01
45600 Tayyab,
Basit
Dept02
Weaving
12/10/2003 12
60,00
Emp02
52700 Safdar,
Ali
Dept03
Finishing
12/10/2003 8
40,00
Emp03
45600 Tayyab,
Basit
Dept02
Weaving
12/11/2003 12
60,00
Emp02
39500 Nasir,
Naveed
Dept02
Weaving
12/10/2003 11
55,00
Emp04
39500 Nasir,
Naveed
Dept02
Weaving
12/11/2003 11
55,00
Emp04
65800 Munir,
Dept01
Mahmood
Spinning
12/10/2003 8
40,00
Emp05