2025-02-28     2025-03-01     2025-03-02

valid admincode2 for PT

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

select countrycode,zip,placename,geonameid,admincode1,admincode2,geonamesadmcode from zip_code where countrycode in ('PT') 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 ('PT')) order by countrycode,zip,placename


countrycode	zip	placename	geonameid	admincode1	admincode2	geonamesadmcode