2025-03-05     2025-03-06     2025-03-07

shape valid admin code 1 for TN

number of errors=0
number of warnings=0
country=TN
Group=chkGrpShp

select geonameid,name,countrycode,admincode1 from geoname where countrycode='TN' and featurecode='ADM1' and not exists (select 1 from geoname_shape where level=2 and geoname_shape.countrycode=geoname.countrycode and geoname_shape.admincode1=geoname.admincode1)

geonameid	name	countrycode	admincode1