I have one table containing car inventory. This has two columns one is car_id and the other is car_info e.g. bmw 320
The other table also contains a table with two columns. One is sales_ids and the other is car_id they have sold.
I want to create an sql query were the output will be the sales_id and the car name which was sold by that sales_id.
I have tried using a join query but have had no sucess thus far. Can anyone offer some help
To find cars sold for one specific sales_id: