SyntaxFix
Write A Post
Hire A Developer
Questions
Something like this will do the trick. Don't know about performance, so do make some tests.
select id, name, city from [stuff] s where 1 < (select count(*) from [stuff] i where i.city = s.city and i.name = s.name)