You are on page 1of 9

HW 2 Normalization Fabian A.

Ramirez Colmenares 700-04-3931

Repairs Table
Equipment Id Equipment Description In Date 9/12/1998 500 Service Repair Id Repair Description Burning oil 7/1/2002 500 300 320 350 510 Replace belts 3/1/2005 1200 320 370 110 Flood light 7/23/2004 520 530 120 Electric Panel 8/15/1995 540 550 Replace light bulb 1/12/2006 Replace light bulb 2/2/2008 Upgrade power Replace fuses 10/10/2001 5/20/2006 150 125 763 25 300 320 350 370 310 Repair date Parts cost Mechanic Id Mechanic FName Fred Jennifer Kellen Jennifer Lindy Fred Jennifer Kellen Lindy Hal Mechanic LName Williams Vento Rondo Vento Johnson Williams Vento Rondo Johnson Willhelm Hours Charged 3.5 2 1 1 0.5 1.5 1 4 3.5 0.5

100

Motor

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

Repairs - 1NF
Equipment Id Equipment Description In Date 9/12/1998 9/12/1998 9/12/1998 9/12/1998 9/12/1998 7/23/2004 7/23/2004 8/15/1995 8/15/1995 8/15/1995 Service Repair Id Repair Description Burning oil Burning oil Burning oil Replace belts Replace belts Repair date 7/1/2002 7/1/2002 7/1/2002 3/1/2005 3/1/2005 Parts cost Mechanic Id Mechanic FName Fred Jennifer Kellen Jennifer Lindy Fred Jennifer Kellen Lindy Hal Mechanic LName Williams Vento Rondo Vento Johnson Williams Vento Rondo Johnson Willhelm Hours Charged

100 100 100 100 100 110 110 120 120 120

Motor Motor Motor Motor Motor Flood light Flood light Electric Panel Electric Panel Electric Panel

500 500 500 510 510 520 530 540 540 550

500 500 500 1200 1200 150 125 763 763 25

300 320 350 320 370 300 320 350 370 310

3.5 2 1 1 0.5 1.5 1 4 3.5 0.5

Replace light bulb 1/12/2006 Replace light bulb 2/2/2008 Upgrade power Upgrade power Replace fuses 10/10/2001 10/10/2001 5/20/2006

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

FDs of Repairs -1NF

Repair Mechanic Equipment Equipment Id Id Id Description

In Service Repair Date Description

Repair Parts date cost

Mechanic FName

Mechanic Hours LName Charged

Transitive Dependency

Partial Dependency

PD

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

Conversion to 2NF

Repair Mechanic Id Id

Hours Charged

Repair Id

Equipment Equipment Id Description

In Service Repair Date Description

Repair Parts date cost

Transitive Dependency

Mechanic Id

Mechanic FName

Mechanic LName

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

Second Normal Form

Repair Mechanic Hours Id Id Charged

Work

Repair Equipment Equipment Id Id Description

In Service Repair Date Description

Repair Parts date cost

Equipment_Repair_Order

Transitive Dependency

Mechanic Mechanic Id FName

Mechanic LName

Mechanic

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

Third Normal Form

Repair Mechanic Hours Id Id Charged

Work

Equipment Equipment Id Description

In Service Date

Equipment

Repair Equipment Repair Id Id Description

Repair date

Parts cost

Repair_Order

Mechanic Mechanic Id FName

Mechanic LName

Mechanic

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

Schema & ER diagram Work: Repair_Id@, Mechanic_Id@, Hours_Charged Equipment: Equipment_Id, Description, In_Service_Date Repair_Order: Repair_Id, Description, Date, Parts_Cost, Equipment_Id@ Mechanic: Mechanic_Id, FName, LName

Work (0,N)
is made by

(0,N)

correspo nd to

(1,1)

Repair_Order (0,N)

is for an

(1,1) Mechanic

(1,1) Equipment

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

Decomposition Diagram Repairs 1NF

Equipment_Repair_Order

2NF

Work

Equipment

Repair_Order

Mechanic

3NF

HW 2 Normalization Fabian A. Ramirez Colmenares 700-04-3931

You might also like