2.10f

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 4

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

5 Terms

1

What is a foreign key in a database context?

A foreign key is a column or group of columns that refers to a primary key in another table.

New cards
2

What must a foreign key clause in a CREATE TABLE statement contain?

The clause must consist of the FOREIGN KEY keyword followed by the foreign key column, and the REFERENCES keyword followed by the referenced table's primary key column.

New cards
3

Can multiple foreign keys refer to the same table?

Yes, multiple foreign keys may refer to the same table.

New cards
4

What does the FOREIGN KEY keyword indicate in SQL?

It indicates the definition of a foreign key column in a table.

New cards
5

What is referenced by a foreign key?

A foreign key references a primary key column in another table.

New cards
robot