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 '1,9) as sort
FROM
wheels w
WHERE
manu...' at line 3
SELECT
w.*,
IF(center=,1,9) as sort
FROM
wheels w
WHERE
manufacturer =
AND model =
AND width =
AND radius = 1600
AND offset =
AND holes = 4
AND pcd = 9800
AND center BETWEEN -10 AND 10
AND fix IN (,2)
ORDER BY
fix,
sort
LIMIT 1
[TEP STOP]