Problem
Contruct ERD for a car dealership. The dealership sells both new and used cars, and it operates a service facility. Base your design on the following business rules:
A. A salesperson may sell many cars, but each car is sold by only one salesperson.
B. A customer may buy many cars, but each car is bought by only one customer.
C. A salesperson writes a single invoice for each car he or she sells.
D. A customer gets an invoice for each car he or she buys.
E. A customer may come in just to have his or her car serviced; that is, a customer need not buy a car to be classified as a customer.
F. When a customer takes one or more cars in for repair or service, one service ticket is written for each car.
G. The car dealership maintains a service history for each of the cars serviced. The service records are referenced by the car's serial number.
H. A car brought in for service can be worked on by many mechanics, and each mechanic may work on many cars.
I. A car that is serviced may or may not need parts (e.g., adjusting a carburetor or cleaning a fuel injector nozzle does not require providing new parts).