I find database records which are duplicated like so :
select s.name, r.name Region, c.name Country
from supplier s
join region r on r.id = s.regionid
join region c on c.id = isnull(r.pid, r.id)
group by s.name, r.name, c.name
having count(s.name) >1
whats the best way to list them all (so if two duplicates it will appear twice etc…)
The easiest way is to create an in-line query from your Find-dups query and join to a “without-a-group-by” query.