I'm advanced enough to use SQL to create the union query between two queries I've created (don't laugh...I know it's copy/paste and using "UNION"), but essentially both tables provide the SAME 10 columns of information (including and specifically, account number, customer name, and balance). So, the UNION query Data Sheet view includes 200 lines, 100 lines from each; thus, there are duplicates with most of the combined query. The difference is most (95%) are repeats from previous report (i.e. have contents in the "Comments" column), and the others, because they are new additions, and therefore do not have "Comments" (a linked column, so if a customer/account combo is new, it won't be included in original main query.
So I have mostly duplicate customer/account combos, one line with a comment, one without, and the remaining handful (5-10 lines total) being single line items (because they are new additions). How do I get eliminate the customer/account lines where there are only the previous combos with comments, and the new additions (obviously without comments) remaining? Using a "eliminate" duplicate query? Entering more complex SQL language or select criteria ("WHERE", etc)? Appreciate any help!
So I have mostly duplicate customer/account combos, one line with a comment, one without, and the remaining handful (5-10 lines total) being single line items (because they are new additions). How do I get eliminate the customer/account lines where there are only the previous combos with comments, and the new additions (obviously without comments) remaining? Using a "eliminate" duplicate query? Entering more complex SQL language or select criteria ("WHERE", etc)? Appreciate any help!