I have two same tables residing in two different database libraries. Both the tables have around 150 columns. At any point of time there will be only one record/row in both the tables. I need to run a query which will return only the unmatched columns using SQL.
For Example: Table1
cmp env cust area name.. ... ... ...
ABC SUN XXXX EARTH xyz
Table2
cmp env cust area name.. ... ... ...
ABC MOON XXXX EARTH uvw
Can I get a result like this:
env name .. .. ...
Table1 SUN xyz
Table2 MOON uvw
Thank you!!