I have two tables Main
& Training
and I full join them on the Main.ID = Training.EMP_ID;
BUT I have a big problem in my data.
I have to use FULL JOIN
to get all data from both tables; however I have some ID
's & Emp_Names
in my Training
table different from my Main
table.
I need to compare both columns and return all EMP_ID
's from both tables and compare EMP_Names
from both tables to make sure they are not recorded more than once!
I would appreciate any help!
I created UNION for my full JOIN and I get This
ID DataA DataB 1
1 DataA1
2 DataA2
3 DataA3
4 DataA4
5 DataA5
6 DataA6 DataB6
7 DataA7 DataB7
8 DataA8 DataB8
9 DataA9 DataB9
10 DataA10 DataB10
11 DataB11
12 DataB12
13 DataB13
14 DataB14
15 DataB15
Now, How can I join these two columns as one? and eliminate duplicates & put in one column?