Skip to content
Advertisement

Compare two similar columns in different tables and result in separate output

I have a two tables with same column names. I would like to compare two columns . For eg:- Table 1 has server and IP address like

Table 2:-

Desired output:-

Advertisement

Answer

It looks like a FULL JOIN is what you need here.

Sample data

Query

Result

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