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