1.
Construct an ER diagram for a car insurance company whose customers own one or
more cars each. Each car has associate with it zero to any number recorded accidents.
Each insurance policy covers one or more cars , and has one or more premium payments
associated with it . Each payment is for a particular period of time , and has an associated
due date , and the date when the payment was received.
In a ER diagram a car insurance company consists of three objects:
Customer
Policy
Car
The Entity customer consists of three attributes ID, Name, Address.
The Entity of the customer consists of 3 relationships to the policy and licence and car.
In the customer attributes includes customer ID Name, Address details of the customer.
In the car entity consists of four attributes i.e car lcennse and colour of entity, year and model of
the car.
It has relation as happenining of accident and owning of object.
Policy is one entity and have two attribute of relation ship of buying the object.