SELECT COUNT(*), CONCAT(DATEPART(year, CreationDate), '-'...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Islam

Q&A for Muslims, experts in Islam, and those interested in learning more about Islam

SELECT COUNT(*),
CONCAT(DATEPART(year, CreationDate), '-', DATEPART(month, CreationDate)) AS year_month
FROM Posts
GROUP BY DATEPART(year, CreationDate), DATEPART(month, CreationDate)
ORDER BY year_month

Enter Parameters

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