プログラマーと熱狂的なプログラマーのためのサイトに関する質問と回答
select top 10 * from Posts p inner join Votes v on p.Id = v.PostId where 1=1 and year(p.ClosedDate) >= '2008' and year(p.ClosedDate) <= '2011' and v.VoteTypeId=6 order by p.ClosedDate DESC