Edits to specific user's posts by a specific user


Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

SELECT P.Id AS [Post Link] 
FROM Posts P
JOIN PostHistory H on H.PostID = P.Id
-- PostOwnerId: The UserId of the user that owns the post
-- EditUserId: The UserId of the user that made the edit.
Where  H.PostHistoryTypeId = 5 and H.UserId = ##EditUserId## and P.OwnerUserId = ##PostOwnerId## 
ORDER BY H.CreationDate ASC

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results