SELECT Hour, COUNT(*) Activity FROM ( SELECT UserId, DATE...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science Meta

Q&A about the site for scientists using computers to solve scientific problems

SELECT
  Hour,
  COUNT(*) Activity
FROM
(
  SELECT UserId, DATEPART(hh, v.CreationDate) + DATEPART(mm, v.CreationDate)/60 AS hour
  FROM SuggestedEditVotes v
  INNER JOIN Users ON Users.Id = v.UserId
  WHERE Users.Reputation >= 3000
) X
GROUP BY HOUR
ORDER BY HOUR

Enter Parameters

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