I have two tables with identical definition:
create tabA (
user_id int,
contact boolean,
promote boolean
);
create tabB (
user_id int,
contact boolean,
promote boolean
);
I want to compare two columns contact and promote and see if there is any discrepancy in row data. For example:
row from tabA: 1,T,T
row from tabB: 1,T,F
So there is discrepancy now I want to catch that and select only those rows where they are not equal.