Self-answered questions with no other answers

1

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 q.Id as [Post Link], q.creationdate, q.Score
  from (
    (select Posts.* from Posts where posttypeid = 1 and answercount = 1 and CommunityOwnedDate IS NULL) as q
    join
    (select Posts.* from Posts where PostTypeId = 2 and CommunityOwnedDate IS NULL) as a
      on q.Id = a.ParentId)
  where q.OwnerUserId = a.OwnerUserId
  and q.AnswerCount = 1
  and q.DeletionDate IS NULL
  and q.ClosedDate IS NULL
  order by creationdate DESC

Enter Parameters

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