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 's assigns (P)Ba1 rating to William Hill proposed senior unsecured notes' and Res' at line 1