SELECT SUM(p2.ViewCount) FROM Posts as p1 JOIN Posts p2 O...

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 SUM(p2.ViewCount)
FROM Posts as p1
JOIN Posts p2 ON p1.ParentId = p2.Id
WHERE p1.OwnerUserId = ##UserId## or p2.OwnerUserId = ##UserId##

Enter Parameters

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