1: if table 2 column value is null take the value from table 1 column
2: if table 2 column value is different from tabe1 column value then take the data from table 1.
Both tables are related with user id as primary keys.
Please help me with this.
Thanks