Newly asked non closed questions per year

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 yyyy as [Year], COUNT(yyyy) as [Occurence]
FROM (
SELECT YEAR(q.CreationDate) as [yyyy]
FROM Posts q
WHERE q.PostTypeId = 1 -- question
 AND q.ClosedDate is null -- not closed
) sel
GROUP BY yyyy
ORDER BY yyyy

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results