Q&A about the site for serious players and enthusiasts of chess
SELECT Posts.PostTypeId, COUNT(*), PostTypes.Name from Posts LEFT JOIN PostTypes on Posts.PostTypeId = PostTypes.Id GROUP BY Posts.PostTypeId, PostTypes.Name ORDER BY Posts.PostTypeId