Suppose I have two .csv files
First one is:
ID,NAME
1,A
2,B
3,C
The second one is
NAME,COMMENTS
A,foo
B,bar
C,foobar
If I want to match the NAME column of both files and then get the ID of A, B and C on a third file
ID,NAME,COMMENTS
1,A,foo
2,B,bar
3,C,foobar
How should I approach it?