Which columns do you want to compare the differences between? Please provide some sample data.
Perhaps the NULLIF function is useful for you:
SELECT *,NULLIF (T1.c2,T2.c2) c2diff,NULLIF (T1.c3,T2.c3) c3diff
FROM T1
JOIN T2 ON T1.c1=T2.c1
For details, please refer to:
NULLIF (Transact-SQL)
If you have any question, please feel free to let me know.
Regards
Echo
If the answer is helpful, please click "Accept Answer" and upvote it.