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 'Polo AG' AND jobs.kdnr IN ('100','130','131','132','133','134','135','136','2' at line 1