Anonymous feedback on a user's posts

2

Please login or register to vote for this query.

(click on this box to dismiss)

Mathematics

Q&A for people studying math at any level and professionals in related fields

Select
   pf.PostId as [Post Link],
   SUM(Case When pf.VoteTypeId = 2 Then 1 Else NULL End) AS UpFeedback,
   SUM(Case When pf.VoteTypeId = 3 Then 1 Else NULL End) AS DownFeedback
FROM
  PostFeedback pf 
JOIN Posts p ON p.Id = pf.PostId
WHERE p.OwnerUserId = ##userID##
GROUP BY pf.PostId
ORDER BY pf.PostId

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results