Most viewed questions between date X and date Y

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP ##Number## Id AS [Post Link], ViewCount, CreationDate
FROM Posts
WHERE PostTypeId = 1 AND CreationDate BETWEEN ##FromCreationDate:string## AND ##ToCreationDate:string##
ORDER BY ViewCount DESC;

-- Number: Number of posts to show:
-- FromCreationDate: From YYYY-MM-DD
-- ToCreationDate: To YYYY-MM-DD

Enter Parameters

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