Skip to content

Course home

Relational databases

Relational databases

Easy
1234567891011121314151617181920212223242526272829303132333435363738
Question 11

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]
Markscheme

Relational databases Questions

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

38 exam-style questions on AQA GCSE Computer Science Relational databases. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank