In: Computer Science
Motor, Inc. is a car dealer that sells both new cars and second-hand cars. You are the technical consultant of Motor Inc. and are currently helping the company to develop a database system. Your job is to draw an ERD to help them design the database.
Solution: EER Diagram developed for Motor Inc, Car sale Company using Microsoft Visio.
List of Entities:
1. Customer
2. Car
3. Motor Inc Company
4. employee
5. Branch
6.Sale
7.Car Dealer
Each entity has many attributes shown in EER Diagram
The ralationships between entities also specified with Multiplicity.
Multiplicity Notation: 1 - 7 between Company and Branch means The company has 7 Branches
1-100 between Company and Employee means Company has 100 employees
1- N means one to Many relationship
Primary Key for Each Entity also Specified by an attribute with Underlined notation.
Example: Primary key for Customer is Customer ID( denoted as ID)