Number of questions in Stack Overflow

0

Please login or register to vote for this query.

(click on this box to dismiss)

GenAI Meta

Q&A for GenAI enthusiasts and practitioners and those interested in learning more about using GenAI tools

select 
  DATEADD(YEAR, DATEDIFF(YEAR, 0, CreationDate), 0) AS [YEAR]
  , COUNT(DISTINCT Posts.Id) AS Count
from posts 
where postTypeId = 1
--  AND CreationDate > '2018-01-01'
GROUP BY DATEADD(YEAR, DATEDIFF(YEAR, 0, CreationDate), 0)
ORDER BY [YEAR] DESC

Enter Parameters

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