Top users in Hartford

2

Please login or register to vote for this query.

(click on this box to dismiss)

Audio-Video Production Meta

Q&A for engineers, producers, editors, and enthusiasts spanning the fields of audio, video, and media creation

SELECT top 100 ROW_NUMBER() OVER(ORDER BY us.Reputation DESC) AS [#], us.id [User Link],
DATEDIFF(M,us.CreationDate,getdate())-1 as [Member for(Months)],
Count(p.OwnerUserId) as [Total answers],
us.Reputation as [Total Reputation],
us.Reputation/(DATEDIFF(M,us.CreationDate,getdate())-1) as [avg. Month rep],
us.Location       
FROM Users us
JOIN Posts p on us.Id = p.OwnerUserId AND p.PostTypeId = 2
WHERE lower(us.Location) like '%hartford%'
GROUP BY us.Id, us.DisplayName,us.Reputation,us.CreationDate,us.Location 
ORDER BY us.Reputation DESC;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results