0
7.1kviews
write SQL queries
written 8.4 years ago by | modified 2.9 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