SELECT * FROM yb_en_newsinfo WHERE id>393 and cid= order by createtime ASC 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 'order by createtime ASC' at line 1