Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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, 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
Step: 1
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