SELECT countryID FROM ip WHERE ipStart < INET_ATON('194.226.9.59') AND ipEnd > INET_ATON('194.226.9.59');
No database selected
Неправильный запрос