select top 10 * from Posts p inner join Votes v on p.Id =...

0

Please login or register to vote for this query.

(click on this box to dismiss)

スタック・オーバーフローMeta

プログラマーと熱狂的なプログラマーのためのサイトに関する質問と回答

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 
  month(p.ClosedDate) = '08' 
order by p.ClosedDate DESC

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results