Assignment Unit 1
Assignment Unit 1
CS 3306-01 Databases 2
In the first place, we need to identify the key entities and their relationships for the car
insurance company where customers can own multiple cars, and each car can have zero or more
recorded accidents. Below are the entities and attributes for each table.
As Entities, we have:
As Relationships, we have:
• A relationship between Customer and Car, indicating that a customer owns one or more
cars.
• A relationship between Car and Accident, indicating that a car can have zero or more
recorded accidents.
Customer Car
Owns
has
Accident
In conclusion, the Entity-Relationship model is a crucial tool in database design that aids
in conceptualizing and organizing data structure. A customer can own multiple cars, and each car
can have multiple recorded accidents. Each entity has its own primary key for unique
identification, and the relationships capture the connections between these entities.
References:
Chen, P. P. (1976). The Entity-Relationship Model - toward a unified view of data. ACM
Transactions on Database Systems, 1(1), 9-36. doi:10.1145/320434.320440 s
Elmasri, R., & Navathe, S. B. (2015). Fundamentals of Database Systems (7th ed.). Pearson.