Feedback on my posts

0

Please login or register to vote for this query.

(click on this box to dismiss)

Coffee

Q&A for people interested in all aspects of producing and consuming coffee

select 
  PostId [Post Link], 
  sum(case when VoteTypeId = 2 then 1 else 0 end) /
  (1+sum(case when VoteTypeId = 3 then 1 else 0 end)) help_raztio
from PostFeedback f
join Posts p on p.Id = PostId
where OwnerUserId = ##UserId##
group by PostId 
order by sum(case when VoteTypeId = 2 then 1 else 0 end) desc

Enter Parameters

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