Error code: 1064
Error description: 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 a.xid=19 order by a.id desc' at line 1

select a.id,a.title,a.jtitle,a.xuefei,a.zid,a.xuezhi,b.title,b.id as rid from wh_news as a left join wh_cata as b on a.diqu = b.id where and a.xid=19 order by a.id desc