Most Views

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 count(Posts.Id)
from posthistory
inner join posts on posts.id = posthistory.postid
inner join Users on posthistory.UserId= users.Id
     where PostHistoryTypeId=16 and PostTypeId=2 
and DATEDIFF(Minute, Posts.CreationDate, Posts.CommunityOwnedDate)<30
and UserId!=Posts.OwnerUserId and UserId=-1

Enter Parameters

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