1064 - 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 model = AND width = AND radius = 2000 ...' at line 8

SELECT w.*, IF(center=0,1,9) as sort FROM wheels w WHERE manufacturer = AND model = AND width = AND radius = 2000 AND offset = AND holes = 5 AND pcd = 10800 AND center BETWEEN -10 AND 10 AND fix IN (,2) ORDER BY fix, sort LIMIT 1

[TEP STOP]