Most duplicated questions

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

select top 30 concat('**',replace(str(count(*),3),' ', '  '),'**') as dups, 
 concat('   http://stackoverflow.com/q/', RelatedPostId) as Q,
 case when q.ClosedDate is not null then '*' else '' end as Closed

from PostLinks
 join Posts q on q.Id=RelatedPostId

where LinkTypeId=3

group by RelatedPostId,q.ClosedDate
order by count(*) desc

Enter Parameters

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