select top 100 a.score, a.id as [Post Link] from posts q...

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

-- Enter Query Title
-- Enter Query Description

select top 100
   a.score, a.id as [Post Link]
from posts q inner join posts a on q.acceptedanswerid = a.id
where q.posttypeid = 1
  and a.posttypeid = 2
order by a.score;

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results
:records returned in :time ms:cached