2025-03-04     2025-03-05     2025-03-06

valid admincode2 for PE

number of errors=0
number of warnings=0
country=PE
Group=chkGrpPostalCode

select countrycode,zip,placename,geonameid,admincode1,admincode2,geonamesadmcode from zip_code where countrycode in ('PE') and zip_code.geonameid not in (2775000,4020092) and zip_code.admincode1 is not null and not exists (select 1 from geoname b where b.countrycode=zip_code.countrycode and b.admincode1=zip_code.geonamesadmcode and b.admincode2=zip_code.admincode2 and b.featurecode='ADM2' and b.countrycode in ('PE')) order by countrycode,zip,placename


countrycode	zip	placename	geonameid	admincode1	admincode2	geonamesadmcode