I need to join two tables to determine if VINs are missing from a specific table.
I am working with LEFT JOIN. Unfortunately, I am only able to pull the data that is in both tables.
SELECT vin
FROM table1.vins
LEFT JOIN table2.tbl2_vins
ON table2.tbl2_vins.vin = table1.vins.vin
WHERE table2.tbl2_vins = ( "5yfbprhe2jp757613" );
I am trying to figure out how to check specific VINs that are in the table2 vin column, but not in the table1 vin column. I think my screwing up is with the '=', but can't determine best way to do this query.