Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
lbunnell
Creator
Creator

Outer Join without duplicates

I'm trying to join two tables and keep records from both. Some of the record id/loan numbers are in both tables but some are not. I'm ending up with duplicates using an outer join. Is there a way to prevent this?

Loan NumberOld Loan Number
123455678901
123455-
123456-
123457123051
123457-
10 Replies
lbunnell
Creator
Creator
Author

Sorry, I see that wasn't as clear as it needed to be. Need to keep ALL records from both tables, but match where there is a match between Loan Number and New Loan Number. The problem is that not every Old Loan Number has a New Loan Number, so matching on Loan Number and New Loan Number alone loses records. Again trying to keep track of 1) all loans in current inventory, 2) all those that have paid off and 3) those that have been paid off and customer recaptured as new loan.