11,850
社区成员
发帖
与我相关
我的任务
分享
select b.* from tags a left join documents b on a.doc_id=b.doc_id where a.tag ='PHP'
intersect
select b.* from tags a left join documents b on a.doc_id=b.doc_id where a.tag ='eAccelerator'
intersect
select b.* from tags a left join documents b on a.doc_id=b.doc_id where a.tag ='CentOS'
select b.* from tags a left join documents b on a.doc_id=b.doc_id where a.tag ='PHP'
union all
select b.* from tags a left join documents b on a.doc_id=b.doc_id where a.tag ='eAccelerator'
union all
select b.* from tags a left join documents b on a.doc_id=b.doc_id where a.tag ='CentOS'
select * from 表 where 时间字段 between 开始时间 and 结束时间