person (driver_id, name, address) car (license_plate, model, year) accident (report_number, year, location) owns (driver_id, license_plate) participated (report_number, license-plate, driver_id, damage_amount) Figure 3.17 Insurance database

Principles of Information Systems (MindTap Course List)
12th Edition
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter5: Database Systems And Applications
Section: Chapter Questions
Problem 11SAT
icon
Related questions
Question

Consider the insurance database of Figure 3.17, where the primary keys are
underlined. Construct the following SQL queries for this relational database. Find the number of accidents involving a car belonging to a person named
“John Smith”.

person (driver_id, name, address)
car (license_plate, model, year)
accident (report_number, year, location)
owns (driver_id, license_plate)
participated (report_number, license-plate, driver_id, damage_amount)
Figure 3.17 Insurance database
Transcribed Image Text:person (driver_id, name, address) car (license_plate, model, year) accident (report_number, year, location) owns (driver_id, license_plate) participated (report_number, license-plate, driver_id, damage_amount) Figure 3.17 Insurance database
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Complex Datatypes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
MIS
MIS
Computer Science
ISBN:
9781337681919
Author:
BIDGOLI
Publisher:
Cengage
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning