Skater (Jan 2018)
Developing the ERD
People make mistakes
Update Errors – Look for dependent fields
What fields DEPEND on the SkaterID?
X
X
X
X
✓
✓
✓
X
X
X
✓
✓
✓
X
X
Update Errors – Example
What fields DEPEND on the SkaterID?
X
X
X
X
✓
✓
✓
X
X
X
✓
✓
✓
X
X
Update Errors – Remove duplicates
If we simply remove all these duplicates then these records no longer relate to the skater
Update Errors – Remove duplicates
Update Errors – Remove duplicates
The SkaterID is the link between the records
Update Errors – Remove duplicates: Fewer Errors
Update Errors – Remove duplicates: AGAIN
✓
Update Errors – Remove duplicates
Update Errors – Remove duplicates: MoveID
Look at one MoveID value – but do check others to ensure you have found truly dependent fields
Update Errors – Remove duplicates: MoveID
Update Errors – Remove duplicates: MoveID
Delete Errors
Delete Errors
If they are the last pupil at this school we will no longer have a school ID of 3 in the database and will no longer know that value is the “Prospect Secondary School”
Delete Errors
Insert Errors – Entering incomplete data
The ERD
Judges – Repeated Group?
At first glance the judges look like a repeating group but they are distinct and non-interchangeable so can be kept in one table.