SELECT k.code FROM cl.ip_range ir INNER JOIN pogt.kladr k ON ir.city_id=k.ip_city_id WHERE INET_ATON('18.232.171.18') BETWEEN ir.start AND ir.endSELECT command denied to user 'pogt'@'localhost' for table 'ip_range'