Q&A for professional and enthusiast programmers
SELECT p.Id, t.Id TagId, t.TagName FROM Posts p, PostTags pt, Tags t WHERE p.Id = pt.PostId AND pt.TagId = t.Id AND pt.TagId = 3 AND pt.TagId = 17