Feedback on my posts

25

Please login or register to vote for this query.

(click on this box to dismiss)

Vegetarianism Meta

Q&A about the site for those committed to a vegan or vegetarian lifestyle and anyone interested in learning more

select 
  PostId [Post Link], 
  sum(case when VoteTypeId = 2 then 1 else 0 end) helpful,
  sum(case when VoteTypeId = 3 then 1 else 0 end) unhelpful
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 main site
loading Hold tight while we fetch your results