Normalisation Flashcards

1
Q

what is a normal form

A

a way of organising data in a table within a database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is normalisation

A

the process of arranging tables based on critearia of each form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is a composite key

A

a key that uses multiple attributes to distinguish the data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly