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)