Question: Q2. Using the relational database given below, person( driver-id , name, address) car( license plate, model , year ) accident report number, year, region )

 Q2. Using the relational database given below, person( driver-id , name,

Q2. Using the relational database given below, person( driver-id , name, address) car( license plate, model , year ) accident report number, year, region ) owns( driver-id , license-plate ) participated( report-number license-plate, driver-id , damage-amount ) write the following queries in SQL: a) Which car did not participate in an accident? (10 pts) b) Which driver was the most careless driver in terms of number of accidents in 2020? (15 pts) c) Give details (for each year) about the most costly accident in Lefke region for the past three years. (15 pts) d) Give details about the second most costly accident in Guzelyurt region. (20 pts) e) Statistically which region has the maximum total damage cost for the insurance company? (20 pts) Good luck

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!