Skip to content
Advertisement

Matching and unlatching records in a single table sql server

I have procedure where I am getting data from my 1st temp table like below

enter image description here

2nd temp table like below

enter image description here

Now I need to join this 2 temp tables to get all matching and unmatching data .My result would be like below

enter image description here

enter image description here

But I am getting only matching data.Please help how to do

Advertisement

Answer

I think that’s a full join:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement