Q&A about the site for people interested in the history and origins of science and mathematics
--1 select p.Id, count(1) from posts p inner join ( select PostId from posttags where tagid in (4, 2) group by PostId having count(PostId) > 1 ) sep on p.Id = sep.PostId group by p.Id having count(1) > 1