I have two tables in oracle 10g (table1, table2), with the same columns (A, B, C), but different data, and I want to compare the column A and B from table1 with column And B from table2, if A and B are similar I need to update the column C of table1 with the column C from table2, if they are not similar, I just insert the new row, what should I use?
I tried with normal SQL code, didn't work when I have more than 1 similar row, what should I use to go through the whole tables?