Hello everyone,
Here's my dilemma. I have two queries, "mailing_list_full" and "officer_search". The fields in "mailing_list_full" include account_no, address1, address2, address3. The fields in officer_search include account_no, address1, address2, address3. These two queries' data comes from the same table, only one (mailing_list_full) has 26120 records and the officer_search query only has 168 records. I want to create a 3rd query that shows all mailing addresses minus the accounts in the officer search. So far when I try and run this query, I get no results in my output. Here's my SQL:
Anyone have suggestions?
Here's my dilemma. I have two queries, "mailing_list_full" and "officer_search". The fields in "mailing_list_full" include account_no, address1, address2, address3. The fields in officer_search include account_no, address1, address2, address3. These two queries' data comes from the same table, only one (mailing_list_full) has 26120 records and the officer_search query only has 168 records. I want to create a 3rd query that shows all mailing addresses minus the accounts in the officer search. So far when I try and run this query, I get no results in my output. Here's my SQL:
Code:
SELECT mailing_list_full.*
FROM mailing_list_full LEFT JOIN officer_search ON mailing_list_full.account_no = officer_search.account_no
WHERE (((mailing_list_full.account_no)<>[officer_search]![account_no]));
Anyone have suggestions?