Question
Create an ER diagram, and type a name for it. A new ER Diagram file will be created. Click it to start editing. In your
Create an ER diagram, and type a name for it. A new ER Diagram file will be created. Click it to start editing. In your ER diagram, make sure to clearly show entities, relationships, and attributes, based on the following requirements:
Tbay Motors is a car dealership that will use a database to keep track of:
- For each sales employee: salesname, startdate, number of years with dealership
(yearswith), unique salessin, unique salesid.
- For each service employee: servicename, unique servicesin, unique serviceid.
- For each customer: unique cid, cname (composed of first name cfname and last name
clname), cphonenumber (having one or more phone numbers), and cemail (optional).
- For each vehicle: year, make, model, unique vin.
- For each repair appointment: radate, unique raid.
Additional requirements:
- A sales employee must have at least one assigned customer but can have many assigned
customers. Each customer is assigned to exactly one sales employee.
- A vehicle is owned by exactly one customer. Each customer owns at least one vehicle but
may own many.
- A vehicle may have many repair appointments but does not have to have any. Each repair
appointment is associated with exactly one vehicle.
- Each service employee participates in between zero and many repair appointments. Each
repair appointment has at least one service employee participating in it but can have up to
three service employees participating in it.
- Each sales employee selects exactly one service employee as their tech expert. A service
employee can be assigned to up to two sales employees as a tech expert, but does not have to be assigned to any.
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