Normal Forms Flashcards
1st Normal Form
Mandatory Normal Form
Disallow multivalued and composite attributes
Allow only atomic values
What’s a prime attribute
Attribute that is part of candidate key
Atomic Values
Either some ONE value or NULL value
Normalization
Normalize by removing multivalued and composite attributes
2nd Normal Form
Non Prime attribute partially functionally dependent on key
Partial Functional Dependency
If no non key attribute depending on PART of a key attribute
Full Functional Dependency
non key attribute depending on COMPLETE key attribute
If key is one attribute
Definitely 2NF because no PFD is possible
3rd Normal Form
N2 and no non prime attribute transitively dependent on key
Transitive dependency
key –> non key –> some attribute
some attribute transitively dependent on key