错误语句:

select b.* from trip_news.news_did as a left join trip_news.news_article as b on a.newsid = b.newsid where a.did in (10132) and b.state = 1 group by a.newsid order by `createtime` desc limit 30,

错误提示:
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 '' at line 8