2025-05-17     2025-05-18     2025-05-19

adm2 with admin1codes

number of errors=1
number of warnings=0

select countrycode,geonameid,name,admincode1,admincode2 from geoname where not exists (select 1 from geoname adm1 where adm1.countrycode=geoname.countrycode and adm1.admincode1=geoname.admincode1 and adm1.featurecode='ADM1') and featurecode='ADM2' order by countrycode,name

countrycode	geonameid	name	admincode1	admincode2	
CN	8739734	Chongqing	null	8739734