Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Let's say I have the following table parts (of two much larger tables)...
CreditTable:
OrderTable:
Project
I need to match a credit to an order by Project, Contract Date, and Value. I need it to be a one-to-one matching. When I run my current script...
JoinedTable:
LOAD DISTINCT
Project&ContractDate&Value AS CreditKey
Project&'-'&Line&'-'&Position AS OrderNumber
RESIDENT OrderTable;
LEFT JOIN LOAD
Project&'-'&Line&'-'&Position AS CreditNumber
RESIDENT CreditTable;
I get something like this...
But I WANT this...
Is there a way to do this kind of one-to-one mapping?