A veterinary practice with four different surgeries intends to use a relational database to store the data that it needs to manage its business.
Customers of the practice are pet owners who bring their pets to one of the surgeries for appointments. The surgeries are staffed by vets.
• Each customer is identified by a unique identity number and the customer’s forename, surname and telephone number are recorded.
• Each pet is identified by a unique identity number and the pet’s name, type and date of birth are recorded.
• Each surgery is identified uniquely by its name. The town in which it is located and the surgery’s telephone number are recorded.
• Each vet is identified by a unique identity number and the vet’s forename and surname are recorded.
A pet is owned by one or more customers and each customer may own any number of pets. Over their lifetimes, pets may attend many appointments.
To make an appointment for a pet, a customer contacts a surgery. The appointment is made for the pet to take place on a particular date and time at a specific surgery.
Each vet is associated with one surgery which they work at; each surgery is staffed by several vets.