Anton.Sandbox

1

Please login or register to vote for this query.

(click on this box to dismiss)

Open Data

Q&A for developers and researchers interested in open data

-- 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 meta site
loading Hold tight while we fetch your results