Relational Database Concepts Flashcards

1
Q

What is 2nd normal form?

A

“Any non-key field should be dependent on the entire primary key”

This concept comes into play when using a composite primary key. For example, with composite primary key made up of course number and start date. If you had another field for course name, this would be dependent on course number only and would violate 2nd form.

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

What is 3rd normal form?

A

“No non-key field is dependent on another non-key field”

In other words, can I figure out any of the values in this row from any of the other values in this row? For example, room and capacity. If these two fields are in a table where neither are the primary key, this is a duplication of information and violates 3rd form.

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

What is 1st normal form?

A

“No repeating values and no repeating groups”

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