Hi, I have to use only SQL (Not-Plsql) to input to my tool and I am not sure what function to use.
I have two table T1 and T2, need data from T1 for the corresponding T2 key value.
Table T1
Key
Description
A1
Desc1
A2
Desc2
A3
Desc3
B1
Desc4
C1
Desc5
Table T2
Key
Col1
q1
A1,A2
q2
A1,B1,A3
q3
B1
Result ans:
Result ans set
Key
Col1
Description
q1
A1,A2
Desc1,Desc2
q2
A1,B1,A3
Desc1,Desc4,Desc3
q3
B1
Desc3
Please let me know what function to use in SQL .
Forums: