Consider the insurance database of Figure, where the primary keys are underlined. Construct the following QBE queries
Question:
Consider the insurance database of Figure, where the primary keys are underlined. Construct the following QBE queries for this relational-database.
a. Find the total number of people who owned cars that were involved in accidents in 1989.
b. Find the number of accidents in which the cars belonging to ?John Smith? were involved.
c. Add a new accident to the database; assume any values for required attributes.
d. Delete the Mazda belonging to ?John Smith.?
e. Update the damage amount for the car with license number ?AABB2000? in the accident with report number ?AR2197? to $3000.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: