2012 Questions with no answers


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

select count(distinct q.id)
  from posts q
  left outer join posts a
    on q.id = a.parentid
   and a.posttypeid = 2
 where q.posttypeid = 1
   and q.closeddate is null
   and DATEPART(yyyy, q.CreationDate) = 2012
   and q.score > 0
   and a.id is null

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results