Select X.OwnerDisplayName, X.Title, X.LastEditDate From (...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Gardening and Landscaping

Q&A for gardeners and landscapers

Select
  X.OwnerDisplayName,
  X.Title,
  X.LastEditDate
From (Select
        P.OwnerDisplayName,
        P.Title,
        P.LastEditDate,
        ROW_NUMBER() OVER(PARTITION BY P.OwnerDisplayName
                                ORDER BY P.LastEditDate DESC) as RNR
       From
         Posts P
       where
       P.OwnerDisplayName is not null
         and
       P.LastEditDate>DATEADD(month, -3,GETDATE())
         and
         P.ViewCount>0) X
Where
  X.RNR<=3
order by
  X.OwnerDisplayName,
  X.LastEditDate desc

Enter Parameters

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