max number of dupes on a question

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 pl.postid as [Post Link]
     , count(*)
from postlinks pl
inner join posts p on p.id = pl.postid
where linktypeid = 3
group by postid
having count(*)>2
order by 2 desc

Enter Parameters

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