Table A:
AID type
10 a
10 b
10 c
11 abc
11 bcd
11 cde
Table B
BID Name
10 ab
10 bc
10 cd
11 abcd
11 bcde
11 cdef
Result Should be
AID type Name
10 a ab
10 b bc
10 c cd
11 abc abcd
11 bcd bcde
11 cde cdef
could you please help me on this for the SQL query