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 'case when M.best like '%SandviƧ%' then M.oncelik+100+M.oy else M.oncelik end d' at line 4