Q.
1 A) 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.
Person (Driver-id, Address, Name)
Car (License, Model, Year)
Accidents (Report-Number, Location, Date)
Q. 1 B) Create Above Tables in SQL.
Q. 2 A) Construct an E-R diagram for a hospital with a set of patients and a set of medical doctors.
Associate with each patient a log of the various tests and examinations conducted.
Patients (SS#, Name, Insurancs, Date_Admitted, Date_Checked_out)
Test (Test_id, Test_Name, Date, Time, Result)
Doctors (Dss, Name, Specialization)
R. 2 B) Create Above Tables in SQL.