QUERY: select cars.stock_no as stock_no,cars.make as make,cars.model as model,cars.year as year,cars.series as series,cars.derivative as derivative,cars.type as type ,cars.body as body,cars.transmission as transmission,price as price, images.image_name from npc_cars cars LEFT JOIN npc_cars_images images ON cars.stock_no=images.stock_no and images.sort_order=1 where price<> 0and cars.make like '%mitsubishi%' and cars.url like '%asx%'
ERROR: 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 'cars.make like '%mitsubishi%' and cars.url like '%asx%'' at line 1