SELECT COUNT(*) AS CommentCount FROM Comments JOIN Posts ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

SELECT COUNT(*) AS CommentCount
FROM Comments
JOIN Posts ON Comments.PostId = Posts.Id
WHERE Posts.PostTypeId = 1;

Enter Parameters

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