Databases Flashcards
1
Q
What is 1st normal form?
A
All rows must be unique( no duplicate)
Each cell must only contain a single value (no list)
Each value must be non divisible (can’t be divided further
2
Q
2nd normal form
A
Must be in 1nf
No partial dependency- non prime attributes must be functionally dependent on PK/Composite key, not just one PK if theres multiple
dependent-When one changes, the other changes
3
Q
3rd normal form
A
Must be in 1nf and 2nf
No transitive dependency- All fields must be determinable by PK/CK
4
Q
Primary key
A
Unique identifier for a table
5
Q
Composite key
A
One or more PK’s joined together in order to link multiple tables