Data Warehousing - CS614 Fall 2005 Assignment 01

download Data Warehousing - CS614 Fall 2005 Assignment 01

of 2

description

Data warehousing

Transcript of Data Warehousing - CS614 Fall 2005 Assignment 01

Assignment No

Data warehousingCourse Code: CS614

[email protected]

Assignment No. 01Deadline date:

Your assignment must be uploaded/submitted before or on 26-11-2005Assignment Topic: The topic of the assignment is normalizationUploading instructions

Please view the assignment submission process document provided to you by the Virtual University to upload the assignment.

Rules for Marking

It should be clear that your assignment will not get any credit if:

The assignment is submitted after due date

The assignment is copied

Objective To learn, understand and practice normalization using the normal forms 1NF, 2NF and 3NF.

To think more about good and bad design decisions in database design.

AssignmentDesign 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_ABCStreet AddressZipName DeptCodeDeptNameDateHours WorkedOvertimeSalaryEmpNo

1415, Hanif Street39500Khalil, Ahmad Dept01Spinning12/10/200310250,00Emp01

1415, Hanif Street39500Khalil, Ahmad Dept01Spinning12/11/20039145,00Emp01

1515, Alamghir Street45600Tayyab, BasitDept02Weaving12/10/200312460,00Emp02

1615, Kamran Steet52700Safdar, AliDept03Finishing12/10/20038040,00Emp03

1515, Alamghir Street45600Tayyab, BasitDept02Weaving12/11/200312460,00Emp02

2345, Ahmad Street39500Nasir, NaveedDept02Weaving12/10/200311355,00Emp04

2345, Ahmad Street39500Nasir, NaveedDept02Weaving12/11/200311355,00Emp04

1715, Imran Street65800Munir, MahmoodDept01Spinning12/10/20038040,00Emp05

Assignment submission instructions:

Your assignment should be in doc format.Virtual University of Pakistan

2 of 2