Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Data between two tables. - response (1) by samcompda

$
0
0

Tables and requried results again, 

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 Table

Key            Col1           Description

q1              A1,A2         Desc1,Desc2

q2              A1,B1,A3    Desc1,Desc4,Desc3

q3              B1              Desc3

 

 

Thanks !!!


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>