将2个表union all,然后对结果依次group by, having count(col) = 1, order by