ok so I have two tables - one table is called which has unique values like custnum, and…
Jump to turn (6)
- 1ok so I have two tables - one table is called which has unique values like custn
- 2ok so I have two tables - one table is called which has unique values like custn
- 3ok so I have two tables - one table is called which has unique values like custn
- 4ok so I have two tables - one table is called which has unique values like custn
- 5ok so I have two tables - one table is called which has unique values like custn
- 6I am seeing this response from other resources: SELECT s.custnum, s.acctnum, s.o
- User
ok so I have two tables - one table is called which has unique values like cust_num, and acct_num and the date when account is opened (open_date).
Then I have another table called MCB table which has cust_num, status and snapshot date.
How do I join both tables that I only pulled the status the time of acct_num opened from sale table.
sales table has no multiple rows of same cust_num, it just mcb table which has multiple records for same customer because the ststus changes.
I would like to get the status from MCB which correspond to the opendate like what was the status of the customer at the time of account open in sales table.
Make sure how to handle if there is a cust_num in sales does not have data in MCB table.