Checking complete foreign-key pairs

A fitness centre stores the relations shown below. ScheduledSession has the composite primary key (StudioID, SlotCode). CheckIn has primary key CheckInID and a foreign key (StudioID, SlotCode) referencing that complete ScheduledSession key. Both foreign-key attributes must have values. Repeated studio-slot pairs are allowed in CheckIn.


A referenced ScheduledSession tuple cannot be deleted while a CheckIn tuple still refers to it. No related tuples are changed automatically. Assume these are the only constraints.


ScheduledSession contains S1-AM, S1-PM and S2-AM, while CheckIn contains 90-S1-AM and 91-S2-AM.


Which statements are true? Select every true statement. Evaluate each proposed operation independently from the initial data.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Relational Database Structures Questions: