Query 1c failed: 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 'AND zs_nrc = '9264d' AND sy_sy = '341' AND sy_zs_id = zs_id AND kt_sy_id =' at line 4