Edits of other people's posts (by specified user)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Arts and Crafts Meta

Q&A about the site for artists and crafters

select  
  min(ph.id) min_hist_id,
  PostID,
  p.title,
  PostID as [Post Link], 
  sum(1) cnt, 
  min(p.creationdate) posted,
  min(ph.creationdate) edited,
  owneruserid [User Link]
from PostHistory ph left join posts p on ph.PostID=p.id
where postHistoryTypeId in (4,5,6)
and UserId=##UserID## and owneruserid<>##UserID##
group by PostID,owneruserid, owneruserid,p.title
order by postID

-- Enter your numeric User ID:

Enter Parameters

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