Q&A for professional and enthusiast programmers
SELECT DISTINCT * From Posts p INNER JOIN PostTags pt ON (p.id = pt.PostId) INNER JOIN Tags t ON (pt.TagId = t.Id) WHERE p.Tags IN ('relational','entity-relational')