number of errors=5
number of warnings=0
country=RO
select countrycode,name,geonameid,admincode1,admincode2,featureclass,featurecode,relevance from geoname where countrycode in ('RO') and not featureCode in ('ADM1H','ADM2H','ADM3H','ADM4H','ADM5H','ADMD') and not featurecode in ('STM') and admincode1 is not null and admincode1<>'00' and admincode2 is not null and not exists (select 1 from geoname b where b.countrycode=geoname.countrycode and b.admincode1=geoname.admincode1 and b.admincode2=geoname.admincode2 and b.featurecode='ADM2' and b.countrycode in ('RO')) order by relevance desc,admincode1,admincode2
countrycode name geonameid admincode1 admincode2 featureclass featurecode relevance RO Haltă Paloş-Ardeal 13303465 20 40768 S RSTP 0 RO Dusul Mare 13305705 32 107083 S TRIG 0 RO Şindilitu 13299569 32 107662 T MT 0 RO Dealul Ţiglău 13304619 38 98113 T HLL 0 RO Dealul Ţarinii 13304479 38 99290 T HLL 0