Questions with ongoing undelete votes

1

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A about the site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation

SELECT
  'site:///questions/' + CAST(PostsWithDeleted.Id AS VARCHAR(MAX))
    + '|' + CAST(PostsWithDeleted.Id AS VARCHAR(MAX)) AS [Post Link],
  MIN(PostsWithDeleted.CreationDate) AS CreationDate,
  MIN(PostsWithDeleted.DeletionDate) AS DeletionDate,
  COUNT(*) AS UndelVoteCount,
  MIN(Votes.CreationDate) AS FirstUndelVote,
  MAX(Votes.CreationDate) AS LastUndelVote
FROM PostsWithDeleted, Votes
WHERE
  Votes.VoteTypeId = 11
  AND
  Votes.PostId = PostsWithDeleted.Id
  AND
  PostsWithDeleted.PostTypeId = 1
  AND
  PostsWithDeleted.DeletionDate IS NOT NULL
GROUP BY PostsWithDeleted.Id
ORDER BY UndelVoteCount DESC, LastUndelVote DESC, PostsWithDeleted.Id DESC

Enter Parameters

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