Questions self-answered with a positive score within 24 hours


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

select count(distinct as Questions
  from posts q
  join posts a
    on = a.parentid
 where q.posttypeid = 1
   and a.posttypeid = 2
   and q.closeddate is null
   and DATEPART(yyyy, q.CreationDate) = 2012
   and a.owneruserid = q.owneruserid
   and datediff(DD, q.CreationDate, a.creationDate) < 1
   and a.score >= 1
   and q.score >= 0

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results