SQL-DATABASE ERROR

Database error in pd Script: Invalid SQL: select countries.name as country, countries.code, cityByCountry.name as city, cityByCountry.lat, cityByCountry.lng from ip4_54 inner join countries on ip4_54.country = countries.id inner join cityByCountry on ip4_54.city = cityByCountry.city where (b='157') and (c='205')
mysql error: Table 'nupepasql2.ip4_54' doesn't exist
mysql error number: 1146
Date: 30.03.2017 @ 10:38
Script: /
Referer: