Query (select distinct `countryISO3` as ISO3 from `products_db` where length(`countryISO3`)=3 order by `index`) failed