摘要:左关联表语法
例子:
SELECT a.id,a.cntitle,a.isshow=0, a.cninfo, a.keyword,a.dateline, b.isshow FROM help a left...
左关联表语法
例子:
SELECT a.id,a.cntitle,a.isshow=0, a.cninfo, a.keyword,a.dateline, b.isshow FROM help a left join helpsort b on a.sid=b.id WHERE $where and b.isshow=0 order by a.id desc
不含关键词
$where .=" and a.cntitle not like '%ct%'"; //备注 含关键词ct 不显示