Q&A for professional and enthusiast programmers
DECLARE @UserId int = ##UserId## Select Id, Title, Score, ViewCount From PostsWithDeleted Where OwnerUserId = @UserId AND PostTypeId = 1