Get number of questions for each amount of close votes


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 c, count(*)
select postid, count(*) c
from votes
join posts on votes.postid =
where votetypeid = 6 and closeddate is null
group by postid
) a
group by c;

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results