number of errors=0
number of warnings=0
country=ES
Group=chkGrpPostalCode
select countrycode,zip,placename,geonameid,admincode1,admincode2,geonamesadmcode from zip_code where countrycode in ('ES') 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 ('ES')) order by countrycode,zip,placename
http://www.correos.es/comun/CodigosPostales/1010_s-CodPostal.asp
countrycode zip placename geonameid admincode1 admincode2 geonamesadmcode