I have a customer table and a purchase table. I have gotten the query set up so that it shows me all the purchases that a customer has made during a certain time frame. I want to run another query that will show me all the customers that have not purchased anything in a time from. How do you program the criteria so that it will return the customers that have not bought anything.
The SQL statement is
SELECT tblcustomers.CompanyName, tblpurchasehistory.ItemBought
From tblcustomers INNER JOIN tblpurchasehistory ON tblcustomers.CustomerID = tblpurchasehistory.CustomerID;
Thanks