Q&A for professional and enthusiast programmers
DECLARE @UserId int = ##UserId##; SELECT Answers.* FROM Posts AS Answers LEFT JOIN Votes ON (Answers.Id = Votes.PostId) WHERE Answers.OwnerUserId = @UserId AND Answers.PostTypeId = 2;