Skip to main content
Level 2
Apr 23, 2021 9:07 PM UTC
Solved

How to Join Tables in ACC

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Amit_ShindeAccepted solution
Level 3
Apr 24, 2021 4:27 AM UTC

Hi @hule 

 

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

2 replies

Amit_ShindeAccepted solution
Level 3
Apr 24, 2021 4:27 AM UTC

Hi @hule 

 

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

Translate
Sukrity_Wadhwa
Level 4
May 5, 2021 1:08 PM UTC

Hi @hule,

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

Thanks!

Translate
Sukrity Wadhwa