I have a table called TableA in database A and view ViewB in database B
I am trying to simply join the table with the view to write a query. For example:
SELECT *
FROM TABLEA a, B.VIEWB b
WHERE a.id = b.id
However, it is not working.
What is the way to join a table and a view from different databases? Should I be creating a synonym?....