The main reasons for this error are:
1. Wrong table name in the query
2. Database name and schema name are not mentioned in along with table name

Solution:
Please check the table name in the query and mention the database name and schema name along with the table names in the SQL query. For ex: select * from MESQLDBM.dbo.Alert