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) + CAST(DATEPART(mi, v.CreationDate)/6 AS FLOAT)/10 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 sites:
loading Hold tight while we fetch your results