Can't execute query
SELECT v.id, v.SKU, v.active, v.unlisted_model, v.date_placed, v.year, v.price, v.odometer, v.trim, v.status as status_code,
ot.french as type, os.french as status, mk.make, md.model, oc.french as cylinders, v.displacement,
otr.french as transmission, onu.french as new_or_used, oext.french as exterior, oint.french as interior,
ofl.french as fuel, v.description, v.youtube_id, ost.french as seats
FROM `vehicles` v
LEFT OUTER JOIN `makes` mk
ON v.make = mk.id
LEFT OUTER JOIN `models` md
ON v.model = md.id
LEFT OUTER JOIN `options` oc
ON v.cylinders = oc.id
LEFT OUTER JOIN `options` ot
ON v.type = ot.id
LEFT OUTER JOIN `options` os
ON v.status = os.id
LEFT OUTER JOIN `options` otr
ON v.transmission = otr.id
LEFT OUTER JOIN `options` onu
ON v.new_or_used = onu.id
LEFT OUTER JOIN `options` oext
ON v.exterior = oext.id
LEFT OUTER JOIN `options` oint
ON v.interior = oint.id
LEFT OUTER JOIN `options` ost
ON v.seats = ost.id
LEFT OUTER JOIN `options` ofl
ON v.fuel = ofl.id
WHERE v.seller = 3
AND v.id =
AND v.Active = 1
LIMIT 0, 1
MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND v.Active = 1
LIMIT 0, 1' at line 43
This script cannot continue, terminating.