Questions I have answered, sorted by question view count

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

DECLARE @UserId int = ##UserId##

select SUM(someQuestion.ViewCount)
from Posts yourAnswer 
join Posts someQuestion
on yourAnswer.ParentID=someQuestion.Id 
where yourAnswer.OwnerUserId=@UserId

Enter Parameters

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