Skip to content

How to get totals from another table

I have table 1 of Cars and table 2 Trips. Below are the two tables fields –CARS table car_id (PK), car_model, car_miles –TRIPS table trip_id (PK), trip_destination, trip_date, trip_miles, car_id (…