4.3 Relational Databases and Normalisation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Relations

A

Where data is held in tables in a relational database

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

Normalisation

A
  • A process used to come up with the best possible design for a database
  • Tables should be organised so that data is not duplicated in the same table or in indifferent tables
  • The structure should allow complex queries to be made
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3 stages of normalisation

A

1NF, 2NF, 3NF

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

1NF

A
  • Contains no repeating attributes or groups of attributes
  • All attributes must be atomic - a single attribute cannot consist of 2 data items such as firstname and surname
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

2NF

A
  • 1NF and contains no partial dependencies
  • Can only occur if the primary key is a composite key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

3NF

A

Contains no non-key dependencies

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

Advantages of normalisation

A
  • Easier to maintain and change
  • No unnecessary duplication of data
  • Data integrity is maintained
  • Having smaller tables with fewer fields means faster searches and savings in storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly