Question: Construct an E-R diagram for a car-insurance company whose customers own one or more cars each. Each car has associated with it zero to

Construct an E-R diagram for a car-insurance company whose customers own one or more cars each. Each car has associated with it zero to any number of recorded accidents. driver-id address person name driver owns license Car insurance tables: person (driver-id, name, address) car (license, year, model) model car year participated damage-amount report-number (b) Construct appropriate tables for the above ER Diagram? accident (report-number, date, location) participated (driver-id, license, report-number, damage-amount) accident location date 1. Create tables with necessary primary and foreign key. 2. Insert values in person table not allowing iver_id with any negative value. 3. Insert values in car table with default year as "2020". 4. Insert values in accident table with default location as "usa". 5. Make sure the car table with year column will not allow value/year less than 1960.
Step by Step Solution
There are 3 Steps involved in it
Answer Solution TablePerson Person driverid name address Pri... View full answer
Get step-by-step solutions from verified subject matter experts
