J
Jason
Hi all,
I'm running Access 2007 and would like to know if this logic is correct for
searching duplicates in two tables.
I'm trying to find my renewal rate between all clients from last year
(stored in one table) and all clients from this year (stored in another
table). The logic would be to see which clients from last year are still
clients this year.
Here's the SQL statement:
--
SELECT [Patient Renewals - 2007 Shoe Patients].pat_number, [Patient
Renewals - 2007 Shoe Patients].f_name, [Patient Renewals - 2007 Shoe
Patients].l_name, [Patient Renewals - 2007 Shoe Patients].item_code,
[Patient Renewals - 2007 Shoe Patients].svc_date
FROM [Patient Renewals - 2006 Shoe Patients] INNER JOIN [Patient Renewals -
2007 Shoe Patients] ON [Patient Renewals - 2006 Shoe Patients].pat_number =
[Patient Renewals - 2007 Shoe Patients].pat_number;
--
I get a result that seems like the script works, but just wanted to
double-check here and see if there's a more accurate way to measure this.
Thanks.
I'm running Access 2007 and would like to know if this logic is correct for
searching duplicates in two tables.
I'm trying to find my renewal rate between all clients from last year
(stored in one table) and all clients from this year (stored in another
table). The logic would be to see which clients from last year are still
clients this year.
Here's the SQL statement:
--
SELECT [Patient Renewals - 2007 Shoe Patients].pat_number, [Patient
Renewals - 2007 Shoe Patients].f_name, [Patient Renewals - 2007 Shoe
Patients].l_name, [Patient Renewals - 2007 Shoe Patients].item_code,
[Patient Renewals - 2007 Shoe Patients].svc_date
FROM [Patient Renewals - 2006 Shoe Patients] INNER JOIN [Patient Renewals -
2007 Shoe Patients] ON [Patient Renewals - 2006 Shoe Patients].pat_number =
[Patient Renewals - 2007 Shoe Patients].pat_number;
--
I get a result that seems like the script works, but just wanted to
double-check here and see if there's a more accurate way to measure this.
Thanks.