I am comparing one table, tblUsernames, to a query, All Customers. The query combines information from two tables, our main customer table and the table storing their email address (tblCustomer and tblEmail, respectively).
When I use the unmatched query comparing the query All Customers to tblServer, it has forty entries. Fair enough. Now if I do the reverse compare tblUsernames to All Customers it has 2300 entries.
Here is my SQL for both queries:
All Customers to tblServer
tblServer to All Customers
Thank you for your help.
When I use the unmatched query comparing the query All Customers to tblServer, it has forty entries. Fair enough. Now if I do the reverse compare tblUsernames to All Customers it has 2300 entries.
Here is my SQL for both queries:
All Customers to tblServer
SELECT [All Active Customers w/ Email Address].[Phone Number], [All Active Customers w/ Email Address].[Billing Number], [All Active Customers w/ Email Address].Status, [All Active Customers w/ Email Address].Service, [All Active Customers w/ Email Address].[Sign-up date], [All Active Customers w/ Email Address].Comment, [All Active Customers w/ Email Address].[First Name], [All Active Customers w/ Email Address].[Last Name], [All Active Customers w/ Email Address].EmailAddress
FROM [All Active Customers w/ Email Address] LEFT JOIN tblServer ON [All Active Customers w/ Email Address].EmailAddress = tblServer.EmailAddress
WHERE (((tblServer.EmailAddress) Is Null))
ORDER BY [All Active Customers w/ Email Address].[Phone Number];
tblServer to All Customers
SELECT tblServer.EmailAddress
FROM tblServer LEFT JOIN [All Active Customers w/ Email Address] ON tblServer.EmailAddress = [All Active Customers w/ Email Address].EmailAddress
WHERE ((([All Active Customers w/ Email Address].EmailAddress) Is Null));
Thank you for your help.