Number Upvotes and Downvotes and acceptance ratio for a meta.stackexchange question


Please login or register to vote for this query.

(click on this box to dismiss)

Japanese Language


select Id as [Post Link], Votes, Upvotes, Downvotes, Upvotes * 1.0 / Votes
(select p.Id, count(case when VoteTypeId = 2 then 1 end) as [Upvotes],
  count(case when VoteTypeId = 3 then 1 end) AS [Downvotes],
  count(case when VoteTypeId = 2 or VoteTypeId = 3 then 1 end) as [Votes]
from Posts p inner join Votes v on p.Id = v.PostId
where p.PostTypeId = 1 and p.ClosedDate is null
group by p.Id) sel
where Votes > 100 and Upvotes > 0.2 * Votes and Upvotes < 0.8 * Votes

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results