Users that dupe voted questions against their own question

0

Please login or register to vote for this query.

(click on this box to dismiss)

https://meta.stackoverflow.com/questions/367459/how-to-use-gold-dupehammer-without-abuse

Stack Overflow

Q&A for professional and enthusiast programmers

select userid as [User Link]
     , count(*) as [times hammered]
     -- , ph.postid as [Post Link]
     -- , text
     -- , pl.*
from posthistory ph
inner join postlinks pl on pl.postid = ph.postid -- duplicate links
inner join posts p on p.id = pl.relatedpostid  -- duplicate target
where posthistorytypeid = 10  -- close event
and ph.userid <> -1 -- not self hammered
and text like '%GoldTagBadge%' -- hammered by a gold badge
and linktypeid = 3  -- duplicate
and ph.userid = p.owneruserid  -- dupe hammer user = owner of dupe target
group by userid
order by count(*) desc

Enter Parameters

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