Anton.Sandbox

0

Please login or register to vote for this query.

(click on this box to dismiss)

Skeptics Meta

Q&A about the site for scientific skepticism

-- number of questions per day

SELECT CONVERT(date, CreationDate) AS date, AVG(CAST(ViewCount AS FLOAT)) AS avg_views
FROM Posts
WHERE PostTypeID = 1
GROUP BY CONVERT(date, CreationDate)
ORDER BY date DESC;

Enter Parameters

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