Anonymous feedback on a question and its answers

1

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

Select
   p.Id as [Post Link],
   SUM(Case When pf.VoteTypeId = 2 Then 1 ELSE 0 END) AS UpFeedback,
   SUM(Case When pf.VoteTypeId = 3 Then 1 ELSE 0 END) AS DownFeedback,
   p.OwnerUserId AS [User Link],
   p.Score AS Score
FROM
  PostFeedback pf
FULL OUTER JOIN Posts p ON p.Id = pf.PostId
WHERE p.Id = 53245599
     OR p.ParentId = 53245599
GROUP BY p.Id, p.OwnerUserId, p.Score, p.CreationDate
ORDER BY p.CreationDate

Enter Parameters

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