Q&A for professional and enthusiast programmers
SELECT top 1000 OwnerUserId, CreationDate FROM Posts JOIN ( SELECT '2015' s1 , '2016' e1, '2010' s2, '2011' e2) a ON CreationDate BETWEEN s1 AND e1