Good Afternoon Team,
Hope all is well. I am hoping you can help me;
I have two tables "BC" and "A".
Table A currently contains 15 rows of data
Table BC currently contains 23 rows of data
Within the table there is a common mapping between both tables
BC.Account_code__C = a.ACCOUNT_NUMBER
BC.ISIN__C = a.SECURITY_ID
Currently i left joined these two tables based on two conditions (left join a on bc.Account_code__C = a.ACCOUNT_NUMBER and bc.ISIN__C = a.SECURITY_ID). This join returns 23 Rows ( the expected amount)
The problem i am encountering is that for 8 rows where there i was unable to match on join, the AccountType = Blank.
What i would like is that for these 8 records, to be populated with the same AccountType, as what found in table A
bc.Account_code__C as Account_code__C,
left join a on bc.Account_code__C = a.ACCOUNT_NUMBER
and bc.ISIN__C = a.SECURITY_ID
where bc.Account_code__C ='1234'