Destroyed upvotes by post deletions, by month

1

Please login or register to vote for this query.

(click on this box to dismiss)

Cognitive Sciences Meta

Q&A about the site for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry

SELECT
  DATEFROMPARTS(
    YEAR(PostsWithDeleted.DeletionDate),
    MONTH(PostsWithDeleted.DeletionDate),
    1) AS Month,
  COUNT(*) AS Count
FROM Votes, PostsWithDeleted
WHERE
  Votes.PostId = PostsWithDeleted.Id
  AND
  Votes.VoteTypeId = 2
  AND
  PostsWithDeleted.DeletionDate IS NOT NULL
GROUP BY DATEFROMPARTS(
  YEAR(PostsWithDeleted.DeletionDate),
  MONTH(PostsWithDeleted.DeletionDate),
  1)
ORDER BY Month

Enter Parameters

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