Questions with accepted answers that have a 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

-- Questions with accepted answers that have a negative score

select a.Id as [Post Link], q.Score [Question Score], a.Score [Answer Score]
from Posts q
join Posts a on a.Id = q.AcceptedAnswerId
where q.Score > 0 and a.Score < 0
order by a.Score asc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results