上面的问题自己解决了,加一个 group by che_id OK了************************************
还有一个问题:程序里有下面的 SQL ,经常执行到这里出错,不知为什么?有时没问题,有时出错   select id,title,from1 from news1 where code=1108 and pic='' and info_kind=2 order by id desc limit 0,5MySQL错误:Lost connection to MySQL server during query
MySQL错误号码:2013不明白,为什么会这样,时好时坏?