Number of spam posts per day (between two dates)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Programming Language Design and Implementation

Q&A for designers and implementers of computer programming languages

SELECT
  CAST(v.CreationDate AS date),
  COUNT(p.Id) AS [Count]
FROM PostsWithDeleted p INNER JOIN Votes v ON v.PostId = p.Id 
WHERE v.VoteTypeId IN (##types?4,12##) AND p.DeletionDate IS NOT NULL
  AND (p.CreationDate >= '##Date1?2024-03-01##') AND (p.CreationDate <= '##Date2?2024-06-01##')
GROUP BY CAST(v.CreationDate AS date)
ORDER BY CAST(v.CreationDate AS date)

Enter Parameters

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