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