网站智慧2012.8 总02期
1055) 数据查询错误:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'focuznet.t1.tid' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_bySELECT t1.tid,t2.id,t2.title,t2.url,t2.date,t3.id FROM king_content_tag_bind t1 LEFT OUTER JOIN (king_content t2,king_content_tag_bind t3) ON t2.id=t3.id WHERE t2.mid=3 and t2.status=1 and t1.id=1647 and t3.tid=t1.tid and t2.id<>1647 GROUP BY t2.id asc LIMIT 1
SELECT t1.tid,t2.id,t2.title,t2.url,t2.description,t3.id FROM king_content_tag_bind t1 LEFT OUTER JOIN (king_content t2,king_content_tag_bind t3,king_content_categroy_bind t4) ON t2.id=t3.id and t4.id=t2.id WHERE t4.cid=56 and t2.mid=4 and t2.status=1 and t1.id=1647 and t3.tid=t1.tid and t2.id<>1647 GROUP BY t2.id desc LIMIT 2
SELECT t1.tid,t2.id,t2.title,t2.url,t2.description,t3.id FROM king_content_tag_bind t1 LEFT OUTER JOIN (king_content t2,king_content_tag_bind t3,king_content_categroy_bind t4) ON t2.id=t3.id and t4.id=t2.id WHERE t4.cid=57 and t2.mid=4 and t2.status=1 and t1.id=1647 and t3.tid=t1.tid and t2.id<>1647 GROUP BY t2.id desc LIMIT 3
SELECT t1.tid,t2.id,t2.title,t2.url,t2.description,t3.id FROM king_content_tag_bind t1 LEFT OUTER JOIN (king_content t2,king_content_tag_bind t3,king_content_categroy_bind t4) ON t2.id=t3.id and t4.id=t2.id WHERE t2.mid=4 and t2.status=1 and t1.id=1647 and t3.tid=t1.tid and t2.id<>1647 GROUP BY t2.id asc LIMIT 3
Copyright © 2007-2021 www.Focuznet.com All rights reserved.粤ICP备08008106号