SELECT PostId, p.CreationDate AS Date, SUM(VoteTypeId) A...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Writers

Q&A for the craft of professional writing, including fiction, non-fiction, technical, scholarly, and commercial writing

-- Downvotes

SELECT
    PostId,
    p.CreationDate AS Date,
    SUM(VoteTypeId) AS DownVotes,
    UserId
    
FROM
    Votes v JOIN Posts p ON v.PostId=p.Id
WHERE
    PostTypeId =1
 AND
    VoteTypeId =3
 AND p.CreationDate>'2019-01-01'
GROUP BY
    PostId, p.CreationDate,UserId
ORDER BY
    PostId, p.CreationDate

Enter Parameters

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