我的sql语句是: sql="select p.*,t.newsort,t.fenmian from t_news_purpose p,t_news_sort t where p.newsort=t.id and t.newsort like '%动手%' and p.release='1' order by p.infoclsindex,p.id desc" 再帮我看看,谢了
把那个and t.newsort like '%动手%'去掉先,看看 sql="select p.*,t.newsort,t.fenmian from t_news_purpose p,t_news_sort t where p.newsort=t.id and p.release='1' order by p.infoclsindex,p.id desc"