Q&A for professional and enthusiast programmers
DECLARE @UserId int = ##UserId##; SELECT Answers.* FROM Posts AS Answers WHERE Answers.OwnerUserId = @UserId AND Answers.PostTypeId = 2;