2025-03-02     2025-03-03     2025-03-04

duplicates for cities5000

number of errors=0
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.15 and a.iscities5000 and b.iscities5000 and a.admincode1=b.admincode1 and a.geonameid not in (12157065,12157098)

countrycode	geonameid	geonameid	name	admincode1	admincode1