Skip to main content
Solved

Сomplicated version of left join

  • October 22, 2022
  • 2 replies
  • 132 views

Forum|alt.badge.img+1

Hello,

How to write the following condition in Ataccama Desktop (Join step):

left join anl.productsjur p on (asd.creditpurpose = p.cp or coalesce(asd.creditpurpose, p.cp) is null)
                        and (asd.creditpurpose2 = p.cp2 or coalesce(asd.creditpurpose2, p.cp2) is null)
                        and (asd.creditobject = p.co or coalesce(asd.creditobject, p.co) is null)

The difficulty is that in the join step only one field for left key and right key is available for selection..

Best answer by DannyRyan

Hi FCB developer,

The Join step allows for join conditions of either a single column or an expression.
If required, this will allow you to define join conditions based on multiple columns.

I have attached an example of preparing a joining key which consists of more than one column.

 

 

View original
Did this topic help you find an answer to your question?

DannyRyan
Ataccamer
Forum|alt.badge.img+2
  • Head of Technical Training
  • October 24, 2022

Hi FCB developer,

The Join step allows for join conditions of either a single column or an expression.
If required, this will allow you to define join conditions based on multiple columns.

I have attached an example of preparing a joining key which consists of more than one column.

 

 


Forum|alt.badge.img+1

@DannyRyan thank you! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings