Question
Draw an ER diagram using Cardinality Notation for the following description: A veterinary hospital only treats dogs and cats (use ISA). Clients have an address,
Draw an ER diagram using Cardinality Notation for the following description:
A veterinary hospital only treats dogs and cats (use ISA). Clients have an address, phone number and client ID. Each pet has a name, a pet ID and belongs to exactly one client. Each client can have at most 5 cats and 2 dogs.
1. When making this diagram, I connected cat and dog to client with its own relationship. Is that allowed?
2. Would the cardinality of 0..5 and 0..2 for cats and dogs be on the line going to the ISA or the line connecting cat/dog to the relationship with the client?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started