Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Answer Solution TablePerson Person driverid name address Pri...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started