A
arran1180
I currently have a query that compares data between two tables, effectively
matching a similar numerical field in both tables to create a new one using
an INNER JOIN function.
Is there a way i can get the query to only use the data from each table
once? As in ONE entry in one table is mathced against ONE entry in the other.
Currently where table A has two similar entries but with different references
they are returned in the query matched off against the same data from table
B. My goal is to highlight any data that is unmatched, so i need tp eliminate
this problem!
I am an SQL beginner, but the code is below: (select from / inner join)
SELECT qry_CSFB_PB_trd_ref_totals.*, qry_CSFB_PB_ImagineTotalsAmended.*
FROM qry_CSFB_PB_trd_ref_totals INNER JOIN qry_CSFB_PB_ImagineTotalsAmended
ON
Abs(qry_CSFB_PB_trd_ref_totals.SumofCashAmount-qry_CSFB_PB_ImagineTotalsAmended.ICash)<0.01;
any help greatly appreciated!
matching a similar numerical field in both tables to create a new one using
an INNER JOIN function.
Is there a way i can get the query to only use the data from each table
once? As in ONE entry in one table is mathced against ONE entry in the other.
Currently where table A has two similar entries but with different references
they are returned in the query matched off against the same data from table
B. My goal is to highlight any data that is unmatched, so i need tp eliminate
this problem!
I am an SQL beginner, but the code is below: (select from / inner join)
SELECT qry_CSFB_PB_trd_ref_totals.*, qry_CSFB_PB_ImagineTotalsAmended.*
FROM qry_CSFB_PB_trd_ref_totals INNER JOIN qry_CSFB_PB_ImagineTotalsAmended
ON
Abs(qry_CSFB_PB_trd_ref_totals.SumofCashAmount-qry_CSFB_PB_ImagineTotalsAmended.ICash)<0.01;
any help greatly appreciated!