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

valid admincode2 for DE

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

select countrycode,zip,placename,geonameid,admincode1,admincode2,geonamesadmcode from zip_code where countrycode in ('DE') 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 ('DE')) and (admincode2<>'00' or admincode2 is null) order by countrycode,zip,placename

http://www.deutschepost.de/plzsuche/

countrycode	zip	placename	geonameid	admincode1	admincode2	geonamesadmcode