Posts with duplicate tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Drones and Model Aircraft Meta

Q&A for experienced flyers, pilots, and builders of drones and model aircraft

-- Posts with duplicate tags
-- Enter Query Description

select
  p.id as [PostLink],
  count(pt.TagId) as [Repeats]
from
  posts p, posttags pt, tags t
where p.Id = pt.PostId and pt.TagId = t.Id
group by p.id, t.id
having count(*) > 1;

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results