1 / 6

Normalization Example

This document provides a comprehensive overview of staff property inspections, highlighting the normalization process across different normal forms (1NF, 2NF, 3NF). It features data from multiple inspection dates, staff members, comments on property conditions, and vehicle registrations. Each section includes insights on dependencies and recommendations for maintaining proper data structure. The inspections focused on property conditions such as damp issues, replacement of crockery, and carpet status. This serves as a guide for best practices in property management data organization.

Télécharger la présentation

Normalization Example

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Normalization Example

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

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

  4. 1NF 2NF STAFF_PROPERTY_INSPECTION iDate pAddress iTime sName Pno comments StaffNo CarReg Pno, iDateiTime, comments, StaffNo, sName, carReg PnopAddress Partial Dependency

  5. 1NF 2NF PROPERTY_INSPECTION iDate iTime sName Pno comments StaffNo CarReg 2NF PROPERTY pAddress Pno 2NF Pno, iDateiTime, comments, StaffNo, Sname, CarReg StaffNoSnameTransitive Dependency

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

More Related