1.10 Foreign Keys Flashcards

1
Q

foreign key

A

A foreign key is a column, or group of columns, that refer to a primary key.

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

Referential integrity

A

Referential integrity requires foreign key values must either be NULL or match some value of the referenced primary key.

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

FOREIGN KEY / REFERENCES

A

A foreign key constraint is added to a CREATE TABLE statement with the FOREIGN KEY and REFERENCES keywords.

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