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: China Liansu's 2012 results support its Ba2 rating' and Restricted='No' limit' at line 1