Presentation is loading. Please wait.

Presentation is loading. Please wait.

Normalization Example. 2 Review Example PG4 PG16 Pno pAddress 18-Oct-00 22-Apr-01 1-Oct-01 22-Apr-01 24-Oct-01 iDateiTime 10:00 09:00 12:00 13:00 14:00.

Similar presentations


Presentation on theme: "Normalization Example. 2 Review Example PG4 PG16 Pno pAddress 18-Oct-00 22-Apr-01 1-Oct-01 22-Apr-01 24-Oct-01 iDateiTime 10:00 09:00 12:00 13:00 14:00."— Presentation transcript:

1 Normalization Example

2 2 Review Example PG4 PG16 Pno pAddress 18-Oct-00 22-Apr-01 1-Oct-01 22-Apr-01 24-Oct-01 iDateiTime 10:00 09:00 12:00 13:00 14:00 comments Replace crockery Good order Damp rot Replace carpet Good condition StaffNo SG37 SG14 SG37 CarReg M23JGR M53HDR N72HFR M53HDR N72HFR Lawrence St, Glasgow 5 Novar Dr., Glasgow sName Ann David Ann STAFF_PROPERTY_INSPECTION Unnormalized relation Normalization

3 3 UNF 1NF PG4 PG16 Pno pAddress 18-Oct-00 22-Apr-01 1-Oct-01 22-Apr-01 24-Oct-01 iDateiTime 10:00 09:00 12:00 13:00 14:00 comments Replace crockery Good order Damp rot Replace carpet Good condition StaffNo SG37 SG14 SG37 CarReg M23JGR M53HDR N72HFR M53HDR N72HFR Lawrence St, Glasgow 5 Novar Dr., Glasgow sName Ann David Ann STAFF_PROPERTY_INSPECTION 1NF Normalization

4 4 1NF 2NF Pno pAddressiDateiTime commentsStaffNo CarReg sName STAFF_PROPERTY_INSPECTION Pno, iDate iTime, comments, StaffNo, sName, carReg Pno pAddressPartial Dependency

5 5 1NF 2NF Pno iDateiTime commentsStaffNo CarReg sName PROPERTY_INSPECTION Pno, iDate iTime, comments, StaffNo, Sname, CarReg StaffNo Sname Transitive Dependency Pno pAddress PROPERTY 2NF Normalization

6 6 2NF 3NF Pno iDateiTime commentsStaffNo CarReg PROPERTY_INSPECTION StaffNo sName STAFF 3NF PROPERTY(Pno, pAddres) STAFF(StaffNo, sName) PROPERTY_INSPECT(Pno, iDate, iTime, comments, StaffNo, CarReg) 3NF Normalization


Download ppt "Normalization Example. 2 Review Example PG4 PG16 Pno pAddress 18-Oct-00 22-Apr-01 1-Oct-01 22-Apr-01 24-Oct-01 iDateiTime 10:00 09:00 12:00 13:00 14:00."

Similar presentations


Ads by Google