Attrition: Reputation>10K Last post < 2012

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

SELECT Top 20 
   u.DisplayName, 
   u.Reputation, 
   p.LastPost 
FROM Users u 
INNER JOIN (
   SELECT 
      OwnerUserId, 
      Max(CreationDate) As LastPost
   FROM Posts
   GROUP BY OwnerUserId) As p
ON u.ID = p.OwnerUserId
WHERE Reputation>10000
AND Year(LastPost)<2012

Enter Parameters

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