Count of all self-answered questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers Meta

Q&A about the site for Drupal developers and administrators

select Top 100 q.Id AS [Post Link], q.OwnerUserId
  from (
    (select Posts.*
      from (Posts join PostTypes on Posts.PostTypeId = PostTypes.Id)
      where PostTypes.Name = 'Question') as q
    join
    (select Posts.*
      from (Posts join PostTypes on Posts.PostTypeId = PostTypes.Id)
      where PostTypes.Name = 'Answer') as a
      on q.Id = a.ParentId)
  where q.OwnerUserId = a.OwnerUserId

Enter Parameters

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