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

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

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

3rd normal form

A

Must be in 1nf and 2nf
No transitive dependency- All fields must be determinable by PK/CK

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

Primary key

A

Unique identifier for a table

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

Composite key

A

One or more PK’s joined together in order to link multiple tables

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