SELECT ViewCount FROM ( SELECT ParentId FROM Posts P WH...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Islam Meta

Q&A about the site for Muslims, experts in Islam, and those interested in learning more about Islam

--SELECT SUM(P.ViewCount) AS YourQuestionViews
--FROM Posts P
--WHERE P.OwnerUserId = 285675
--AND P.PostTypeId = 1


SELECT ViewCount
FROM
(
  SELECT ParentId
  FROM Posts P
  WHERE P.OwnerUserId = 285675
  AND P.PostTypeId = 2
) ParentIds
INNER JOIN Posts P ON P.Id = ParentIds.ParentId

Enter Parameters

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