I have two data sets
1 10
2 15
3 17
4 5
The second
1 to
2 b
4 c
I need to compare only one column of the two sets and at the end have what values are equal to the two sets in that column and exclude the rest, in summary when comparing the two columns I would have the following result
1 10
2 15
4 5
I don't know where to start, if someone can help me get started