转载请注明出处:唯众网络
转载请注明出处:唯众网络
SELECT t2.name,t2.url,t2.cid,t2.norder FROM king_content_categroy_bind t1 LEFT OUTER JOIN (king_content_categroy t2) ON t1.cid=t2.cid WHERE t1.id=1315 GROUP BY norder asc LIMIT 1
SELECT 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.status=1 and t1.id=1315 and t3.tid=t1.tid and t2.id<>1315 GROUP BY t2.id desc LIMIT 4
Copyright © 2007-2021 www.Focuznet.com All rights reserved.粤ICP备08008106号