ERROR :

Table 'samasp_ssp.visits' doesn't exist

your SQL Statement was :

select * from visits