Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to Join Tables in ACC

gnals12
Level 2
Level 2

Hi,

 

I would like to join broadlog table and tracking log table.

Something like this in SQL world:

select

  a.col1,

  b.col2,

from table1 as a

left outer join table2 as b

on a.id=b.id

 

I see there is a built-in linkage between Broadlog table and trackinglog table, but I would like to create a new table that has characteristics of LOJ

 

1 Accepted Solution
Amit_Shinde
Correct answer by
Level 3
Level 3

Hi @gnals12 

 

Not sure why you want to create the custom table for broadLog & TrackingLog. We can achieve this in the workflow using the steps defined below.

 

1. Query on broadLogRcp table in the first query activity to select the filtered data
2. Next enrichment activity, create a link(Add data>A link)
3. Select Define a link whose target does not necessarily exist in the base & link target will be trackingLogRcp
4. Give the join condition as @id(broadLogRcp)=[@broadLog-id](trackingLogRcp)
5. After that go to Edit additional data from the enrichment main tab & add columns you wanted from the trackingLogRcp table

 

Thanks,

Amit

View solution in original post

2 Replies
Amit_Shinde
Correct answer by
Level 3
Level 3

Hi @gnals12 

 

Not sure why you want to create the custom table for broadLog & TrackingLog. We can achieve this in the workflow using the steps defined below.

 

1. Query on broadLogRcp table in the first query activity to select the filtered data
2. Next enrichment activity, create a link(Add data>A link)
3. Select Define a link whose target does not necessarily exist in the base & link target will be trackingLogRcp
4. Give the join condition as @id(broadLogRcp)=[@broadLog-id](trackingLogRcp)
5. After that go to Edit additional data from the enrichment main tab & add columns you wanted from the trackingLogRcp table

 

Thanks,

Amit

View solution in original post

Sukrity_Wadhwa
Employee
Employee

Hi @gnals12,

Was the given solution helpful to resolve your query or do you still need more help here? Do let us know.

Thanks!