Hi there! I've got a complex query and am not sure how to accomplish the task. Here's the basic rundown.
I have three tables, Old, New, and MergedTableResults. The tables all have the same data structure, and the fields are A, B, C, D, E, F , G, H, and I. Fields G, H, and I do not contain data in Table New.
Here’s what I want to do. I want to compare records using the fields ( A, B, C, D, E ) in tables Old and New, when a match is found I need a new record created in MergedResultsTable that contains New.A, New.B, New.C, New.D, New.E,New.F, Old.G, Old.H, and Old.I from the two records that matched.
Any help or direction is appreciated – Thanks!
I have three tables, Old, New, and MergedTableResults. The tables all have the same data structure, and the fields are A, B, C, D, E, F , G, H, and I. Fields G, H, and I do not contain data in Table New.
Here’s what I want to do. I want to compare records using the fields ( A, B, C, D, E ) in tables Old and New, when a match is found I need a new record created in MergedResultsTable that contains New.A, New.B, New.C, New.D, New.E,New.F, Old.G, Old.H, and Old.I from the two records that matched.
Any help or direction is appreciated – Thanks!