First, Second & Third Normal Form Flashcards
What is normalisation?
Data is normalised in order to reduce redundancy and inconsistency and to make it easier to use.
What is a table in before it gets to first normal form?
Unnormalised form. 0NF.
How do you recognise 1NF?
A table is in 1NF if every data value in a field is atomic and each record does not contain repeating data.
What is atomic data?
It means the data value cannot be broken down any further.
Is student name an example of atomic data?
No, because it can be split into ‘forename’ and ‘surname’.
How do you show a primary key?
With a . (Student No)
What are the checks for 1NF?
Does the table have a primary key? Is each field name unique? Are there any repeating fields in a single record? Is all the data within a field atomic?
How do you recognise 2NF?
A table is in 2NF if it is 1NF and all its non-key attributes are dependent on the entire primary key (or there are no partial key dependencies).
2NF is based on f_________ d_________.
Functional dependance.
Checks for 2NF?
Is the table in 1NF? Can all of the non-key fields be found out by using the entire primary key?
How do you recognise 3NF?
A table is in 3NF if it is in 2NF and there is no functional dependency between non-key items. ‘Are any of the non-key fields dependent on any other non-key fields? If the answer is ‘No’, then the table is in 3NF. The rule here is that a new table needs to be created for each new dependency.
Checks for 3NF:
Is the table in 2NF? Are all non-key attributes fully dependent on the primary key?
Describe the correct notation for table structures.
The table name should be in capitals. The attributes (field names) in brackets separated by a comma. The primary key is underlined and foreign keys are over lined.
What are the advantages of normalisation?
Removes redundancy, increases consistency, increases integrity, easier maintenance, flexibility for future expansion.
What are the disadvantages of normalisation?
Increased CPU storage, longer to process. They’re not always necessary.