SELECT COUNT(*) FROM ( SELECT COALESCE(ParentId, Id) AS QId

0

Please login or register to vote for this query.

(click on this box to dismiss)

Open Source Meta

Q&A about the site for people organizing, marketing or licensing open source development projects

SELECT COUNT(*)
FROM (
  SELECT COALESCE(ParentId, Id) AS QId
  FROM PostsWithDeleted
  WHERE PostTypeId BETWEEN 1 AND 2
  GROUP BY COALESCE(ParentId, Id)
) p

Enter Parameters

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