SELECT PostTypeId, COUNT(*) as NrOfPosts FROM posts WHERE...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT PostTypeId, COUNT(*) as NrOfPosts
  FROM posts
  WHERE Year(CreationDate) = 2019
  GROUP BY PostTypeId
 ORDER BY NrOfPosts DESC;

Enter Parameters

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