Class 05 Flashcards

normalization

1
Q

what are database anomalies?

A

insertion + deletion + modification anomaly

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

what is an insertion anomaly?

A

inconsistent data

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

what is a deletion anomaly?

A

incomplete data

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

what is a modification anomaly?

A

when too many rows are impacted

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

what is the first normal form?

A

multivalued values get separate rows

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

what is the second normal form?

A

partial functional dependencies are removed + duplicated data get a separated table

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

what is functional dependency?

A

a constraint between 2 attributes (ie. SSN)

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

what is the third normal form?

A

transitive dependencies are removed

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

what are the steps to creating a table?

A
  1. begin with entities
  2. map the core attributes
  3. inspect relationship sets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly