03d - Relationships Flashcards

1
Q

Define a relationship.

A

Links two tables in a database using afield that exists in each of the tables. Primary key of one table is stored as the foreign key of another.

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

Examples of Entity Relationships.

A

Pupil Locker=One to one
Form teacher to pupil=One to many
Pupil to Class=One to many

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