Consider the insurance database of Figure 3.17, where the primary keys are underlined. Construct the following SQL

Question:

Consider the insurance database of Figure 3.17, where the primary keys are underlined. Construct the following SQL queries for this relational database.

a. Find the number of accidents involving a car belonging to a person named “John Smith”.

b. Update the damage amount for the car with the license plate “AABB2000” in the accident with report number “AR2197” to $3000. B2000”)

Figure 3.17

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Database System Concepts

ISBN: 9780078022159

7th Edition

Authors: Abraham Silberschatz, Henry F. Korth, S. Sudarshan

Question Posted: