2025-04-18     2025-04-19     2025-04-20

duplicates for cities500

number of errors=2
number of warnings=0

select a.countrycode,a.geonameid,b.geonameid,a.name,a.admincode1,b.admincode1 from geoname a, geoname b where a.geonameid <> b.geonameid and a.featureclass='P' and b.featureclass='P' and lower(a.name)=lower(b.name) and a.longlat<->b.longlat<0.005 and a.iscities500 and b.iscities500 and a.admincode1=b.admincode1

countrycode	geonameid	geonameid	name	admincode1	admincode1	
MX	3996682	3987472	Manuel Benavides	06	06	
MX	3987472	3996682	Manuel Benavides	06	06