i have two tables with values
- create table tb11
- (
- SignalID varchar(max),
- ZID varchar(max),
- EmailID varchar(max)
- )
| SignalID | ZID | EmailID |
| 123733 | 128424 | [email protected] |
| 123733 | 128425 | [email protected] |
| 123425 | 128426 | [email protected] |
- create table tb12
- (
- CreateID varchar(max),
- SignalID varchar(max),
- ZID varchar(max)
- )
| CreateID | SignalID | ZID |
| 706063 | 123425 | 128424, 128425, 128426 |
| 706063 | 123733 | 128424, 128425, 128426 |
| 706064 | 123733 | 128424 |
| 706065 | 123733 | 128425 |
| 706066 | 123733 | 128426 |
i need the output from these two tables of the following table
| SignalID | CreateID | EmailID |
| 123425 | 706063 | [email protected] |
| 123733 | 706063 | [email protected] |
| 123733 | 706063 | [email protected] |
| 123733 | 706064 | [email protected] |
| 123733 | 706065 | [email protected] |
| 123733 | 706066 | [email protected] |

Raghavendar SwaminathanRank #788 · 2.9K reputationPosted May 29, 2018, 10:12 PM EDT
Pooja ChowdhuryRank #3,615 · 403 reputationPosted May 29, 2018, 10:15 PM EDT
Raghavendar SwaminathanRank #788 · 2.9K reputationPosted May 30, 2018, 1:27 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted May 30, 2018, 2:37 AM EDT
Deepak VermaRank #3,278 · 438 reputationPosted May 30, 2018, 3:19 AM EDT