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