Question: Write SQL DDL commands to create a database for an insurance company according to the following schemas: person(driver_id, name, address) car (license_plate, model, year)
Write SQL DDL commands to create a database for an insurance company according to the following schemas: person(driver_id, name, address) car (license_plate, model, year) owns(driver_id, license_plate) accident (report number, date, location) participated (report_number, license_plate, driver_id, damage_amount) Make any reasonable assumptions about data types, and be sure to declare primary and foreign keys.
Step by Step Solution
3.40 Rating (159 Votes )
There are 3 Steps involved in it
You can create the database tables for the insurance company using SQL DDL Data Definition Language ... View full answer
Get step-by-step solutions from verified subject matter experts
