Some questions where Accepted Answer < Top voted answer and Accepted Answer < 3

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

SELECT top 1000 p.Id as [Post Link] FROM Posts AS p, Posts AS a
  WHERE p.PostTypeId = 1 AND
        p.AcceptedAnswerId IS NOT NULL AND
        a.Id = p.AcceptedAnswerId AND
        (SELECT MAX(Score) FROM Posts as q
        WHERE q.ParentId = p.Id) > a.Score AND
        a.Score <= 3 AND
        p.OwnerUserId != a.OwnerUserId;

Enter Parameters

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