select top 10 q.acceptedanswerid as [Post Link] from post...

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 10 q.acceptedanswerid as [Post Link]
from posts q join posts a on q.acceptedanswerid = a.id and q.owneruserid = a.owneruserid
where a.communityowneddate is not null and exists (
	select * from posts oa where oa.parentid = q.id and oa.score > a.score)

Enter Parameters

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