questions with poor accepted answers

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 top 200
  q.id [Post Link],
  max(a.score - t.score) ScoreDiff,
  max(a.score) BestAnswerScore,
  max(t.score) AcceptedAnswerScore
from
  posts q
  inner join posts a on a.parentid = q.id and a.id <> q.acceptedanswerid
  inner join posts t on t.id = q.acceptedanswerid
where
  t.score < 0 and a.score > 0
group by
  q.id
order by
  scorediff desc

Enter Parameters

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