Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please draw an EERD based on the following. Do make sure a primary key is identified for each entity. The customer can have the following:
Please draw an EERD based on the following. Do make sure a primary key is identified for each entity.
- The customer can have the following: ID , First Name, Last Name, Street, State, Zip Code, Email, Phone, and Has_bought. A customer can have multiple phone numbers
- The employee can have the following: SSN, FirstName, LastName, Street, State, ZipCode, Email, Phone_number, and quantity of employees.
- The installer can have the following: mileage rate, and inherits Employees attributes.
- The sales person can have the following: commission rate, and inherits Employees attributes.
- The manager has the following: Start Date attribute, and inherits Employees attributes.
- A credit card number has the following: Card Number, Exp-Date, Holder Name, Type, and CRV.
- A warehouse has the following: Code, Street, State, Zip Code, and PhoneNumber.
- A part entity has the following: SKU, Price, Quantity, and Description.
- A swing set has the following: Size, Type, C_id, S_ssn, and Discount_Rate.
- The location has the following: Code, Street, State, Zip Code, and PhoneNumber.
- A customer will pay with a credit card and a credit card belongs to a customer.
- A customer can buy multiple swing sets and a swing set is sold to one customer.
- An employee may works with one or more customers and a customer will be served by one employee.
- Employees are divided into three types: Installer, Salesperson, and Manager.
- A customer can make appointment with an installer and a salesperson.
- Parts are stored in one or more warehouses and a warehouse can store many different parts.
- Warehouses can be located in many different locations, and a location can have many warehouses.
- A salesperson may sell many swing sets or none and a swing set will be sold by one sales person.
- A swing set is composed of many parts and a part can be used in many different swing sets.
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