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 q.Score desc, a.Score asc