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='80') and (c='23')
mysql error: Table 'nupepasql2.ip4_54' doesn't exist
mysql error number: 1146
Date: 25.07.2016 @ 22:04
Script: /
Referer: