I created a sql server database with name of abc-123, in that I created a table Emp, when I run like
abc-123
select * from abc-123.emp;
if you are using databasename with table name then suppose to specify the schema name also.
schema
select * from [abc-123].dbo.emp