実行エラー:(SELECT mm.maker, IF(vi.bike_id IS NULL OR vi.bike_id = '', vi.bike_name, vm.bike_name1) AS bike_name, vi.remark, vi.image1, vi.price1, vi.price2, CAST(CONCAT(vi.price1, IF(vi.price2 = '', '0000', IF(vi.price2 >= '0' AND vi.price2 < '9999', LPAD(vi.price2, 4, '0'), vi.price2))) AS SIGNED) AS price, am.agetype, vi.mileage, IF(vi.unit_id=0,'km',IF(vi.unit_id=1,'M',IF(vi.unit_id=2,'km?',IF(vi.unit_id=3,'M?',IF(vi.unit_id=4,'交換歴車',IF(vi.unit_id=5,'減算歴車','--')))))) AS unit, vi.color, im.insurance, si.address, si.shop_name, si.tel, vi.shop_id, vi.vehicle_id, IF(vi.unit_id=1 OR vi.unit_id=3, vi.mileage * 1.6, vi.mileage) AS mileage_sort FROM getbike_vehicle_inf AS vi LEFT JOIN getbike_vehicle_mst AS vm ON vi.bike_id = vm.bike_id LEFT JOIN getbike_maker_mst AS mm ON vm.maker = mm.maker_id LEFT JOIN getbike_agetype_mst AS am ON vi.agetype_id = am.agetype_id LEFT JOIN getbike_insurance_mst AS im ON vi.insurance = im.insurance_id LEFT JOIN getbike_shop_inf AS si ON vi.shop_id = si.shop_id WHERE vi.web_display_flg = true AND si.web_display_flg = true AND CAST(CONCAT(vi.price1, IF(vi.price2 = '', '0000', IF(vi.price2 >= '0' AND vi.price2 < '9999', LPAD(vi.price2, 4, '0'), vi.price2))) AS SIGNED) <= 0 AND vi.one_owner_flg = true ORDER BY 8 ASC LIMIT 0 , )