Relational databases

Easy
123456789101112131415161718192021222324252627282930313233343536373839
Question 12
Easy

A relational database is being developed to manage a veterinary clinic's schedule of daily appointments. The database contains two tables: Pet and Appointment.

The database is currently being tested with a small sample of data.

The contents of the tables are shown below.

Pet Table

PetIDPetNameSpeciesAgeOwnerName
P101BusterDog4Smith
P102WhiskersCat2Jones
P103BubblesFish1Patel
P104FelixCat6Davies

Appointment Table

AppointmentIDDateTimeReasonPetID
A40112/10/2409:00VaccinationP101
A40212/10/2410:30Check-upP103
A40312/10/2411:15DentalP101
A40413/10/2414:00GroomingP102
A40513/10/2415:30Check-upP104

State the field in the Appointment table that is a foreign key.

[1]

Relational databases Questions

  1. GCSE
  2. /Computer Science
  3. /Relational databases