SELECT Posts.PostTypeId, COUNT(*), PostTypes.Name from Po...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Software Recommendations

Q&A for people seeking specific software recommendations

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

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results