Answered step by step
Verified Expert Solution
Link Copied!

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 )

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual C# And Databases

Authors: Philip Conrod, Lou Tylee

16th Edition

1951077083, 978-1951077082

More Books

Students also viewed these Databases questions