I have fetched two SAP ERP tables into Azure Synapse: ACDOCA
and JVSO1
.
Now I need to join these two tables. And the column EBELN
is required to be in join condition, also both tables have around 40% of EBELN
empty. Because of these empty values, these two tables produce a lot of data (In Billions).
What I have tried: I have picked one more column EBELP
and joined both tables based on these two columns:
WHERE ACDOCA.EBELN = JVSO1.EBELN AND ACDOCA.EBELP = JVSO1.EBELP
But even after this condition, I am getting a lot of data.
What I want:
I want to join these two tables and have less amount of data (Not in Billions). Can you please suggest me more columns in both tables so that I can join both of the tables correctly with lesser amount of data.
Thanks