0
7.4kviews
write SQL queries
| written 9.4 years ago by | modified 3.8 years ago by |
For the following given database, write SQL queries:
Person (driver_id:#, name, address)
Car (license, model, year)
Accident (reporcino, date, location)
Owns (driver_id:#, license)
Participated (drivercid, car, report_number, damage_amount)
(i) Find the total number of people who owned cars that were involved in accident 2004
(ii) Find the number of accidents in which the cars belonging to "HT" were involved
(iii) Update the damage an, unt for car with license number "Mum2011" in the accident with report number "AR120" to Rs. 4000
ADD COMMENT
EDIT
1 Answer

and 3 others joined a min ago.
and 2 others joined a min ago.