number of errors=0
number of warnings=0
country=LI
select countrycode,name,geonameid,admincode1,featureclass,featurecode,relevance from geoname where countrycode in ('LI') and not featureCode in ('ADM1H','ADM2H','ADM3H','ADM4H','ADM5H','ADMD') and admincode1 is not null and admincode1<>'00' and not exists (select 1 from geoname b where b.countrycode=geoname.countrycode and b.admincode1=geoname.admincode1 and b.featurecode='ADM1' and b.countrycode in ('LI')) order by countrycode,name
countrycode name geonameid admincode1 featureclass featurecode relevance