Number of question posted by users between two dates

0

Please login or register to vote for this query.

(click on this box to dismiss)

Network Engineering

Q&A for network engineers

--Number of question posted by users between two dates
--Enter Date in the form: 2012-01-01
SELECT Posts.OwnerUserId, Posts.OwnerUserId  AS [User Link], count(distinct Posts.Id)
FROM Posts
WHERE PostTypeId=1
AND Posts.CreationDate >= '##Date1##'
AND Posts.CreationDate <= '##Date2##'
GROUP BY OwnerUserId
ORDER BY count(distinct Posts.Id) DESC

Enter Parameters

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