select a, b, c, sum(diffCnt) from
(select a, b, c, 1 as diffCnt from T1 union all select a, b, c, -1 as diffCnt from T2 ) tmpt
group by a, b, c having sum(diffCnt) <> 0