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