Hi community,
I have two table Tab1,Tab2. Trying to perform lookup like excel,mean want first occurance of value against each lookup value in Tab1.
Tab 1
Id Value
1 A
1 B
1 C
1 D
2 E
2 F
2 G
2 H
Tab2
Id Value(currently getting) required output(against id)
1 D A
1 D A
2 H E
2 H E
Can anyone help !
Thanks in advance.