My Answers on Questions with Negative Score

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select
  Questions.Title,
  'https://stackoverflow.com/questions/'+cast(Questions.ID as varchar(11)) as Link,
  Questions.Score as 'Question Score',
  Answers.Score as 'Answer Score'
from Posts as Answers
Inner Join Posts as Questions ON Answers.ParentId = Questions.Id 
Where
  Answers.PostTypeId = 2 -- 2 = Answer
  and Answers.OwnerUserId = ##UserId## -- <== change this to your user id
  and Questions.Score < 0

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results