My answers to closed questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select
  a.score as [Score], a.id as [Post Link], q.closeddate as [Closed Date], cr.name as [Close Reason]
from
  Posts a
  inner join posts q on a.parentid = q.id
  inner join posthistory ph on a.parentid = ph.postid
  inner join closereasontypes cr on ph.comment = cr.id
where
  q.closeddate is not null
  and ph.posthistorytypeid = 10
  and ph.comment != 101
  and a.owneruserid = ##UserId##
order by [Score] desc

Enter Parameters

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