DataBase CH3 Flashcards

1
Q

A column or a set of columns whose value is unique for each row

A

Primary Key

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

Foreign Key

A

Refers to a primary key in another referred relation

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

In 1:M Relationship where do we put the (FK)?

A

In the Many side

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

In 1:M if the 1 side has an optional Option we..

A

Put it in the relation besides the FK

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

In M:N Relationship we..

A

Create a new relation and add the two foreign key

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

the foreign key EITHER matches one of the values in the primary key column of the referred relation OR the value of the foreign key is null (empty)

A

Referential integrity constraint

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