Q&A for professionals and students of engineering
SELECT PostTypeId, COUNT(Id) as posts FROM Posts GROUP BY PostTypeId