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

shape valid admin code 2 for TH

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

select geonameid,name,countrycode,admincode1,admincode2 from geoname where countrycode='TH' and featurecode='ADM2' and not exists (select 1 from geoname_shape where level=3 and geoname_shape.countrycode=geoname.countrycode and geoname_shape.admincode1=geoname.admincode1 and geoname_shape.admincode2=geoname.admincode2)

geonameid	name	countrycode	admincode1	admincode2