Announcer badges by year-month

0

Please login or register to vote for this query.

(click on this box to dismiss)

Super User

Q&A for computer enthusiasts and power users

SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, Date), 0) AS YEARMONTH, Count(*)
FROM Badges
WHERE Name = 'Announcer'
GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, Date), 0)
ORDER BY DATEADD(MONTH, DATEDIFF(MONTH, 0, Date), 0);

Enter Parameters

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