Posts with pastall files newer then 5 months, grouped by user

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 Posts.Id as [Post Link],
       Users.Id as [User Link],
       PostTypes.Name as type
from Posts
join Users on Users.Id = Posts.OwnerUserId
join PostTypes on PostTypes.Id = Posts.PostTypeId
where Posts.Body like '%pasteall.org%' and
      datediff(month, Posts.CreationDate, current_timestamp) <= 5
order by Users.Reputation desc, Users.Id

Enter Parameters

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