Votes Cast Per Day

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT
  CreationDate AS [Date],
  (SELECT Name FROM VoteTypes
   WHERE VoteTypes.Id = Votes.VoteTypeId) AS [Vote Type],
  COUNT(*) AS [Count]
FROM Votes
WHERE VoteTypeId IN (2, 3)
GROUP BY CreationDate, VoteTypeId
ORDER BY CreationDate, VoteTypeId

Enter Parameters

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