Average score of questions (per day, between dates)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

SELECT
  CAST(p.CreationDate AS date), AVG(cast(p.Score as decimal))
FROM PostsWithDeleted p
WHERE p.PostTypeId=1 AND p.CreationDate >= '##Date1##' AND p.CreationDate <= '##Date2##'
GROUP BY CAST(p.CreationDate AS date)
ORDER BY CAST(p.CreationDate AS date)

Enter Parameters

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