I want to select which model car is involved in most accidents. i am using the following query but i get a syntax error. please someone tell me whats wrong..
select car.Model
from car
join car_accident_involved
on car.Car_Registration_ID = car_accident_involved.Car_Registration_ID
group by car.Model
having MAX(
select COUNT(Car_Registration_ID)
from car_accident_involved
);