test1

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 50 Posts.Id AS [Post Link], Posts.ViewCount, Posts.CreationDate
FROM Posts, PostTypes
WHERE Posts.PostTypeId = PostTypes.Id AND PostTypes.Id = 1 AND Posts.CreationDate BETWEEN ##FromCreationDate:string## AND ##ToCreationDate:string##
ORDER BY Posts.ViewCount DESC;

-- FromCreationDate: From YYYY-MM-DD
-- ToCreationDate: To YYY-MM-DD

Enter Parameters

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