10 - Fundamentals of Databases Flashcards
What does it mean for relations to be in Third Normal Form.
Why is it important that the relations in a relational database are in Third Normal Form?
3NF means every non-key attribute is dependent on the key, the whole key and nothing but the key. There are also no repeating groups.
This is important to eliminate update anomalies, eliminate insertion anomalies, eliminate deletion anomalies, eliminate data inconsistency and minimise data duplication.
State the properties that the relations in a fully normalised database must have.
- There are no repeating groups of attributes.
- All non-key attributes depend on the whole key.
- All non-key attributes depend on nothing but the key.
Describe a problem when a table is not normalised.
It is difficult to query as it contains repeating groups of attributes.
What is the name given to a key that is made up of multiple attributes?
Composite key
Why is it important for a database to be in third normal form?
- Eliminate update anomalies
- Eliminate insertion anomalies
- Eliminate deletion anomalies
- Eliminate data inconsistency
- Eliminate data redundancy