Photo AI

A dog walking company uses a relational database to store details about the dogs that they take on walks - Scottish Highers Computing Science - Question 12 - 2023

Question icon

Question 12

A-dog-walking-company-uses-a-relational-database-to-store-details-about-the-dogs-that-they-take-on-walks-Scottish Highers Computing Science-Question 12-2023.png

A dog walking company uses a relational database to store details about the dogs that they take on walks. Customer custID dogID forename name surname br... show full transcript

Worked Solution & Example Answer:A dog walking company uses a relational database to store details about the dogs that they take on walks - Scottish Highers Computing Science - Question 12 - 2023

Step 1

Customer - Dog (1:M)

96%

114 rated

Answer

Each customer can have multiple dogs, but each dog belongs to one specific customer. This relationship is represented through a one-to-many (1:M) connection between Customer and Dog.

Step 2

Staff - Walk (1:M)

99%

104 rated

Answer

Each staff member can manage multiple walks, while each walk is conducted by one specific staff member. This creates a one-to-many (1:M) relationship from Staff to Walk.

Step 3

Dog - Walk (1:M)

96%

101 rated

Answer

Each dog can participate in multiple walks, but each walk involves one specific dog. Thus, this relationship is also represented as one-to-many (1:M) from Dog to Walk.

Join the Scottish Highers students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;