Q&A about the site for users of Iota, the open-source cryptocurrency for IoT that does not use a blockchain
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