I have two tables has below
Table Left:
ID   | Visit No 
---  | --------
 1   |   1
 1   |   2
 2   |   1
 3   |   1
If Table Right has
ID  | Visit No | Place
--- | -------- | -----
 1  |  1       | Chennai
Then Results will be like
 ID  | Visit No 
---  | --------     
 1   |   2
 2   |   1
 3   |   1
If Table Right is Empty, Then the Result will be
ID   | Visit No 
---  | --------
 1   |   1
 1   |   2
 2   |   1
 3   |   1
Based on ID and Visit No. Is it possible to get output using joins in SQL Sever 2012.
 
    