SELECT hour, COUNT(*) activity FROM ( SELECT distinct hou...

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 distinct hour
  FROM
  (
    SELECT UserId, DATEPART(hh, v.CreationDate) as hour
    from SuggestedEditVotes v
    join Users on Users.Id = v.UserId
    where Users.Reputation >= 3000
  ) a
) a
GROUP BY HOUR
ORDER BY HOUR

Enter Parameters

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