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 'Blum/ order by if(I.PRICE>0,I.PRICE,100000) limit 0,10' at line 1