I have a table, for example the personnel table, that would have the following column: empno
There would be another table, salesinvoice, that would have the following columns:
I would then have a salesinvoice table that has the following columns: current_emp, alternate_emp
I need to match both the current_emp, alternate_emp from salesinvoice to the empno from personnel. A table join would not work because it only goes row by row and if current_emp, alternate_emp has separate values, then i would not get a match.
Is there a way to do a join that would not go row by row so that I do not have to do two separate joins to match each field?