标签
tag_id tag post_id
--------------------------------
1 category1 1
2 category2 1
3 etc 2
4 category3 1
邮政
post_id title
-------------
1 title1
我们怎么能得到title1
,因为它在标签category1
&&category2
就像是
SELECT TITLE
FROM post, tag
WHERE tag.post_id = post.post_id
AND tags.tag = 'category1','category2'