Q&A for professional and enthusiast programmers
SELECT top 10000 OwnerUserId FROM Posts JOIN ( SELECT '2015' beg , '2016' en) a ON CreationDate BETWEEN beg AND en INTERSECT SELECT top 10000 OwnerUserId FROM Posts JOIN ( SELECT '2010' beg, '2011' en) b ON CreationDate BETWEEN beg AND en