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 desc' at line 1

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