Q&A for anime and manga fans
DECLARE @UserId int = ##UserId## select p.Id as [Post Link] from PostHistory h inner join Posts p on p.Id = h.PostId where h.UserId = @UserId and p.OwnerUserId <> @UserId