G
Guest
I have table X with 5 columns. One column has the invoice number and another
has a procedure number. One invoice number may be on multiple lines with
multiple procedures, and visa versa.
I am only interested in 2 of the many procedures in the column.
I want to find out the following: Find each occurance of either of these 2
procedures and make a note of the invoice number. Then go back and tell me
all of the other procedures also in that invoice number.
So at the end, I will in effect have a new table which has all 5 columns but
only those invoices that also have at least one of the 2 procedures I am
interested in.
has a procedure number. One invoice number may be on multiple lines with
multiple procedures, and visa versa.
I am only interested in 2 of the many procedures in the column.
I want to find out the following: Find each occurance of either of these 2
procedures and make a note of the invoice number. Then go back and tell me
all of the other procedures also in that invoice number.
So at the end, I will in effect have a new table which has all 5 columns but
only those invoices that also have at least one of the 2 procedures I am
interested in.