Ghada
New member
- Local time
- Today, 09:09
- Joined
- Jan 1, 2022
- Messages
- 2
Hi,
I have two different tables and I want to compare a column in table A to a column in table B, and return the values that are only in table A not in table B.
including the values that are duplicated in table A but not duplicated in table B.
I have used the unmatched query wizard but it does not show the difference in duplicated values.
for example:
Table A:
Table B:
Result needed is to return values from table A not in Table B:
the unmatched query wizard does not return the (3209) because it considers it as available in table B.
Can you help me with this?
I have two different tables and I want to compare a column in table A to a column in table B, and return the values that are only in table A not in table B.
including the values that are duplicated in table A but not duplicated in table B.
I have used the unmatched query wizard but it does not show the difference in duplicated values.
for example:
Table A:
Month | DOc | TrnNo | DR | CR |
9 | JRV | JRV2455 | 0 | 3150 |
7 | JRV | JRV2232 | 0 | 3209 |
7 | JRV | JRV2259 | 0 | 3209 |
1 | JRV | JRV1571 | 0 | 3215 |
6 | JRV | JRV2180 | 0 | 3317 |
6 | JRV | JRV1571 | 0 | 3430 |
Table B:
Month | DOC | Voucher | DR |
10 | GJV | GJV-843 | 3150 |
6 | GJV | GJV-694 | 3209 |
1 | GJV | GJV-177 | 3215 |
6 | GJV | GJV-656 | 3430 |
Result needed is to return values from table A not in Table B:
Month | DOc | TrnNo | DR | CR |
7 | JRV | JRV2259 | 0 | 3209 |
6 | JRV | JRV2180 | 0 | 3317 |
the unmatched query wizard does not return the (3209) because it considers it as available in table B.
Can you help me with this?