SELECT CONCAT(year(CreationDate), ' , ', month(CreationDa...


Please login or register to vote for this query.

(click on this box to dismiss)

The Great Outdoors

Q&A for people who love being outdoors enjoying nature and wilderness, and learning about the required skills and equipment

SELECT CONCAT(year(CreationDate), ' , ', month(CreationDate)) as 'year-month',
COUNT(PostTypeId) as cnt, PostTypeId
FROM Posts
GROUP BY CONCAT(year(CreationDate), ' , ', month(CreationDate)), PostTypeId
ORDER BY 'year-month';

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results