1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 5

SELECT distinct pfv.* FROM `parts_finder_items` pfi, parts_finder_coord pfc, `parts_finder_images` pfimg, parts_finder_vehicles pfv where pfi.parts_finder_coord_id = pfc.parts_finder_coord_id and pfc.parts_image_id = pfimg.parts_image_id and pfimg.vehicle_id = pfv.vehicle_id and pfi.products_id =