Lesson 2 PowerPoint
Lesson 2 PowerPoint
Management
Database design and concepts
1
Data anomalies
Delete
• Deleting one piece of data
• simultaneously deleting
• unrelated data
2
Data anomalies
Update
Updating one piece of data
causing multiple records
to be altered
3
Data anomalies
Insert
Inserting new data
results in an error message
thus can not insert new data
4
Data anomalies
Anomaly :
modification / maintenance errors in a datab
5
Data redundancy
• Redundancy :
duplication of data
6
Database design
Goals:
1. Easy data maintenance
2. No modification errors
3. Accurate and fast querying
4. Effective use of memory
5. Accurate data
6. Up to date data
7
Normalise data
8
Normalise data
Normalisation:
to create related tables
in order to increase effectiveness and
efficiency of the database.
Relationship:
tables are linked with a field in one table
that has the same values as a field in
the other table (a common field)
9
Relationships
10