Votes on posts that are neither questions nor answers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

SELECT p.Id as [Post Link],
       p.Id as [Post Id],
       pt.Name as [Post Type],
       vt.Name as [Vote Type],
       v.UserId as [User Link],
       v.CreationDate as [Vote Date],
       p.Body
FROM Votes v
     JOIN Posts p
          ON v.PostId = p.Id
     JOIN PostTypes pt
          ON p.PostTypeId = pt.Id
     JOIN VoteTypes vt
          ON v.VoteTypeId = vt.Id
WHERE pt.Name NOT IN ('Question', 'Answer')
      AND vt.Name NOT IN ('Deletion', 'ApproveEditSuggestion')

Enter Parameters

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