Anonymous feedback on a question and its answers


Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

   pf.PostId 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 Author,
   p.Score AS Score
  PostFeedback pf
FULL OUTER JOIN Posts p ON p.Id = pf.PostId
WHERE p.Id = ##PostId##
     OR p.ParentId = ##PostId##
GROUP BY pf.PostId, p.OwnerUserId, p.Score, p.CreationDate
ORDER BY p.CreationDate

Enter Parameters

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