Normalisation Flashcards
1
Q
what is a normal form
A
a way of organising data in a table within a database
2
Q
what is normalisation
A
the process of arranging tables based on critearia of each form
3
Q
what has to be done to get to the first normal form
A
- eliminate duplicate columns
- get rid of any groups repeating data
- identify primary key
- seperate non atomic attributes
4
Q
what is a composite key
A
a key that uses multiple attributes to distinguish the data
5
Q
what has to be done to get to the second normal form
A
- check data is in the first normal form
- remove any partial dependecies (when data only relies on part of a composite key), fixed by splitting the data into new tables
- fix any many to many relationships
6
Q
what has to be done to get to the third normal form
A
- check that the data is in second normal form
- make sure there are no non key dependencies where attributes are determined with out the use of the key