If the FROM clause refers to a table or view name that is duplicated in other, non-default, databases referenced in the query, you must use the fully-qualified form of the name, such as one of the following:
database_name.table_name user_name.table_name