| propNo | propAddr | {iDate, iTime, comments, staffNo, sName, carReg} |
|---|---|---|
| PG4 | 6 Lawrence St, Glasgow |
|
| PG16 | 5 Novar Dr, Glasgow |
|
| propNo | propAddr | iDate | iTime | comments | staffNo | sName | carReg |
|---|---|---|---|---|---|---|---|
| PG4 | 6 Lawrence St, Glasgow | Need to replace crockery | SG37 | Ann Beech | |||
| PG4 | 6 Lawrence St, Glasgow | In good order | SG14 | David Ford | |||
| PG4 | 6 Lawrence St, Glasgow | Damp rot in bathroom | SG14 | David Ford | |||
| PG16 | 5 Novar Dr, Glasgow | Replace living room carpet | SG14 | David Ford | |||
| PG16 | 5 Novar Dr, Glasgow | Good condition | SG37 | Ann Beech |
Having the primary key we can see that
The StaffPropertyInspection relation is transformed into 2NF by decomposing into two new relations:
|
|
To transform the PropertyInspection relation into 3NF, we remove the transitive dependency (
|
|
|
The resulting BCNF relations have the following form:
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||